improve config_parse_currency