fixed moveto bug