change config to setting.