t4 template seems to be working OK now