Animation Root Motion

Hello. I downloaded combo action attack animations and characters on Mixamo. I ran the animation and it returned to its first starting position after the animation ended. So I turned on root motion. But the animation got weird and the character is tilted after the animation ended. How should I solve it?