fixup! support iteration on cursor