fix: iter was not freed