change format of index