Add missing closing tags