Fixed a bug where a different formated room_code from the ypcat_string would cause segfault