index search fix