fix KVO-on-dealloc crashes