Adding missing closing tag.
Titlegen logic.