clean templates.