fix issue with not updating iter on call to continue