fix no network bug when you haven't a data/wi-fi connection