fix conversion to iterate properly so we also don't need the isNaN test.