prevented adding duplicate tags.