fixing settingscache bug