fix add templates in setup