movement bug fix