closes #1445 template issue