fix bug on template() helper