remove extra echo of templates.