fixed templates for index