fix the stop all motors bug