make sure tags are properly closed