Retargeting problems. Bones are screwed

Hello guys, Need some help.
I’ve downloaded some animations and then decided to retarget them onto Epic’s skeleton (SK_Mannequin). After retargeting the skeleton looks like this.

It hangs in the air, the shoulders and fingers are misplaced and the animation looks weird. How to fix it?
Thanks in advance