prevents adding duplicate tags