removed template setting from function call

done via github webedit. no compile test.