chomp $tags before split