fix tags in transforms being mistakenly read into separate tags
fixed inline comments (junk) in front of tags not being read