check against tag name instead of Tag object