fix support for NSNotificationCenter