aldo: fix use of iterator