fix for template bug