fix check internet connection