fix lose all tmpl build in