Fixed a problem in the templates