The car loses power

Hello! I faced such an unusual problem: through the command I added the ability to switch awd, rwd and fwd, And I encountered such problems, the command works on few cars, no errors in the console, and the biggest problem is that on one important car when switching from awd to rwd or fwd, it loses about 50% of power (0-100km/h 3 sec vs 7 sec)
Maybe someone faced such a problem? I would be very happy for any help! Sorry for my english)