corrected templateDeclaration closing tag