Third Person template - wrong bone position

Hi. I have issue when using Third Person Template and replacing base Idle animation with my animation. Animation looks good in UE preview window and in many softwares, but when I swap it in Animation blueprint, somehow leg bones and feet are wrong (like its position is locked).