Hmmm... Not sure how to fix it without looking at the file. What may help, is that in the Visor, there is a pre-made quadruped rig using FBIK. Might be worth taking a look into.