index tmpl fix