Mounting of motor