Invalid argument type: INT. Expected Compound?????

I have a minecraft data pack function with a macro called value. but when I use the function with the arguments from a storage it fails with the error message "Invalid argument type: INT. Expected Compound" what do I do to fix this??

First Command execute store result storage wandering:crouch value int 1 run scoreboard players get ItzWandering crouch

Second Command function fancymenu:progress_bar_percent with storage wandering:crouch value

The Function the second command uses $execute as @a run fmvariable set progress_bar_percent false $(value)

Im using the fmvariable command to mess with the screen (shouldn't effect the commands)

Continue to help post