add NULL casee in set_roomlist.