add previous check in door:hide