add a command to get rid of duplicate tagvals in the same dict