fix the NSNotificationCenter bug.