cleanup warnings
clean up pcap api