resolve issue: @for does not work for Iterable