deep merge the settings