hardcode fix of hasNetwork.