isNaN fix