fixed the settings system