fix sniffer warning