fix leaveNotifyEvent