Change YAML as configuration file, set value has some problems