Problem with skinned mesh animation

Hello, i’m trying to load an old animation that i made on a model into the same model but skinned.
The problem is that it doesn’t loads correctly on some bones.
I have tried changing the bone names, adding the “Attach” bone(it’s irrelevant for the animation),

This is how it looks on the old rig:
The model of the old rig:

And this is how it looks on the skinned rig:
Skinned rig model:

But if i load the animation with different names on the new model’s meshes and old model’s names on the bones it loads but wrong, i also tried to make the meshes names the same as the old model, but the result is the same.