fixed error displaying the tag