fixed bugs SettingsWindow