tring to keep room deletion from causing crash