Fixing error in template file.