fix netcat check