fixed no internet connection bug