fixed bug in app.js about room.id