fix isfan error when on the plateform