fix floating point number parsing