avoid crash caused by removing an observer that no longer exists