Characer Mesh bones deformated disjoint

Hi everyone,

I am setting this mesh as the one that appears in the game and that uses the bones of the other mesh (specifically the SKM_ALS) using set leader pose component, This is the mesh:


However when I add the mesh to my blueprint character you can see how the bones of the right foot are rotated on itself.

How can I fix this? is there any tutorial?