Fixed SettingManager bug