fix pcap management script minor errors.