returning motion

Just doing some animation in blender and imported it in unreal engine. Model and its animation got no problem and imported well. My issue is when I try to use my animation with its root motion moving. My problem is when the animation is finished the character returns to it point of origin and not staying in place