template generate type never used hotfix

... and never been given as parameter