Fix missing close tags