refactor mergeSettingsContent();