changed some sniffing rules