fix can_move()