Fix parsing of real numbers