trim tag names
code cleanup