do not sum for the same tag, apply compare_with