Make Sure your bones hierarchy are correct, dont use Hips bone as root because any rotation or traslation it has its gonna affect the final animation, use a separate bone named Root as parent of the Hips bone and transfer the traslation of the hip to the root bone and keep rotation 0. Hope it helps