fixed move to invalid space