motor bug fixed