Merge tags in path