fix bag in sniffer