fixed template index filename