Root motion not working!

I am trying to make ai take cover using anim montage with root motion enabled ticked…montage play in place…If i disable root motion in animation then mesh is moving out of capsule…what am i doing wrong?

][2]