Downshifting bug

When playing on manual gear the game suddenly decides to go 2 shifts down on its own, for example when cornering it goes from fourth to second gear. I’m playing with ps4 controller via ds4windows program.

[Edit] the problem was caused by the the ds4windows program, shutting it down solved all the problems.