saveSettings fixed