fix templating.