Gamepad issue to run

Hi,
When I make my player run with my keyboard , it works well. The problem comes when I use a gamepad instead of my keyboard because my player stops on its own or he is slowed. I don’t understand why there is difference.
Here are screenshots of my function start run:

and my function stop run: