fix floating point parsing