modify parse_config file code v1