changed isNetworkOnline