Fix wrong template usage