fix platform check