Fixed a template issue