fixed compile errors in RoomManager