refine toIterator to iterator