fixed a room deletion problem