syntax fixes
building tmpls