fix close a tag in n:if