fix parsing for negative decimals