writeConfig correction