making sure correct integration_setting is assigned