fix up network check