fixing SequenceFileIterator