fix bug no internet connection & dismissloading