Fixed bug in template