exchange the index with original