change Index to index