Imported Animation has random wiggling on certain bones


I imported this animation from blender but some bones have incorrect rotations. How can I fix this?