check internet connection and bug fixes