fix parsing of decimals, require Global in two places where it was missing (from refactor)