motor calibration bugfix2