Aim Offset Messes Up Walking Animations (Feet are Marching or off ground) With Control Rig Active

So I had it partly figured out. If I add the below code to the footik control rig then the animation is not marching anymore, however, I still can’t figure out why the character is slightly in the air still while moving.