Animation from blender broken when importing to unreal

The animation is fine in blender but when I export it to unreal the hands are messed up i have tried multiple settings and nothing looks wrong with the weight paint