check for no internet case