[Bugfix] Fix wrong data processing in leave event.