strip common contexts