parse room names