Improve leader handler in a room, but there is a bug when left the room