corrected index's location