Corrected template errors

Corrected example template
Corrected init template