Fix'd objectAttributes error in addRoom