remove_tag_slice and aggregate out_tag