Strange behavior with enhanced input mapping

Hi! I have a problem with the enhanced input mapping I can not solve. I have updated a project with old key mapping to the enhanced input mapping. In the project I have a bluprint for the steps, that worked fine. but when I change the forward and backward movement to the enhanced input the footsteps sound continue to play even when the movement stopped. I switched back to the old keymapping and the footsteps works normaly.

Why is this happening? Have anyone had the same problem?

Thank you!

Nevermind. I have solved it. The event tick did the job.