validation: add closing tr tag