small fix in case the list of rooms is empty

and formatting