Fix save settings.