clean the iter before returning.