rename index2 to index