fixed checkSetting