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:
https://i.gyazo.com/e9b5ced1f0f2506f5a7fbdc6e54e117d.mp4
The model of the old rig:


And this is how it looks on the skinned rig:
https://i.gyazo.com/c134b819f05650ad1ca24b51875255db.mp4
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.