templating errors