3amotor bug fix