bug fix with motor1