fixing the room saving with error bug