fix some bugs.now can move step by step.