fixing one of the index iterators