Fixing the settings file.