fix movement bug;