fix iter return number on success