fix platforms sniff