Retarget unreal mannequin to metahuman in maya

In maya I have ue5 mannequin animations, i need to transfer them to a metahuman and polishing them up
I used Human IK for the retargeting, but i have this problem

The twist rotation of the mannequin ue5 breaks the elbow of the metahuman, seems that it’s not matching the same twist rotation of the metahuman. But both rotation order are Euler XYZ, so they should match.
Are these twisted bones made differently?
How can I solve it?