Floating character

So im trying to set up a base animation for walking around and standing and i have one issue. when i compile my code how i have it screenshotted below my character is above the ground by about a foot but still acts as if im on the ground. although if i connect output pose to control rig the character goes back to being on the correct level. Any idea on how to fix this? Thanks