Fix Issue #531, by fixing path to template