fixed missing /n in closing tags