fix no movement bug