Fixed small bug in template.