fixed no-movement bug