correcting template: closing tag was missing