fix several loading problem if onResume()