fix index path finding