Fixed units bug on ymotor