merge env&context