fix for default template copying