fixing the botched editing attempt on iterators