Corrected mistakes in parsing the config yaml.