Fix bug with a tag