add settingData check