fixed key value observing crash by removing observer on deinit