fix templating issue