strengthen template engine