fixed the settings switch