fix leaveRoom, see issue #8