fix TAG rendering