fix error path file tpl