How to adjust character rotation to align with movement ?

I created this AI character but the problem it run with the wrong rotation:

Use controller rotation yaw is unchecked
Orient Rotation to movement is checked
Use controller desired rotation is checked

but I still get the wrong rotation as in the video

I solved the problem using set world rotation and type -90 in Z