fixed os sniffing