modify setup & settingdialog class