make sure tags remain distinct