fix crash onStop();