fix session join/leave