use tag.name instead of tag