Fixing undefined room name error.