corrected index routing