fixes for create templ