handling tags with hyphens in them