rename pcap file, fix bugs