selecting element now selects actual tag, not just line number