Processing root motion in persona moving character vertically

so i made this animation in maya and everything looks perfect here but in ue4 enabling root motion moves character upward and disabling it rotates the character for 90degree and its looking like laying on the floor.?? help