Exported fbx animation is very broken (on the IK legs)

I don’t know if it’s something about my rig or my fbx export options or something else, but the legs after the export goes crazy, I tested it, it only does that if my hip controller is rotated in extreme poses (but I could be wrong). Don’t know if anyone can help me, but thanks in advance for everyone.

PS: I worked in the 2.8 beta version of Blender, I had to switch from 2.79b because of some other reasons, and I am pretty sure 2.79b cannot open the file.

(Sorry I can only put one pic up since I am a new user, the other 2 are just links :slightly_frowning_face: )

fbx export settings
https://i.stack.imgur.com/0A0XB.png

Original animation
i.stack.imgur. :frowning: com/wCtyz.gif (2 links limit for new users :frowning: )

Exported fbx
ExportedIKProblem

Here is the file if anyone is interested
https://drive.google.com/file/d/1TpraWvXebKWeZ9MjIWLfzMhrayX0zDKq/view