working on tags from duplicating in pivot