make simple index search work