fix usage of iterable