fix removeObserver, update example