Fixed error with quoting names in template.