Stop Run and Land Run direction problems

Hi guys I´m new to UE blueprints, I have everything working ok on my character except for the stop run animation. The character uses a random stop animation not the one of the direction she is facing.

Ive seen the UE dev stream but I cant make it work. I use a print string to see the direction of the character when running and everything is working fine 90 right -90 left… (even rotating the character 180 it still keeps right 90 and left -90) but I have different results when trying to use the StopDirection variable that they use on theyr video. Is there any other way?

It also happens when runing - landing and continue to run. after the land for arround 0,5 seconds her legs dont understand the direction then it runs properly.

THanks in advance guys !