fixed a problem with the connection using the sniff feature