notifyEvent bug fix