modified get_room_info function adopt changed tag structure