Fixed a syntax error in the template code