index re-formating