Better errors when missing closing tags