fixed browser sniffer