fix basis tmplts