fixed moveTo bug