fixed NaN constant folding error