Fixed index template

merge it asap