correcting index path