idxs fix rather than scan