fixing the settings file