remove pcap lib for advanced mode