fix checkRoom