dynamic renaming of tags