revise index 2 to index 1