fix templating syntax