fix clicking on a tag