more changes to tcpcheck