corrections for iterator