Fixed onResume.