fixed setSettings()