fix index pathing