not find indexes if cursor is null