great, could you change `$t -> template` to `$t->template`? thanks!