Fixed bug in speed-changer