fix hanging tag