iterator: work around method resolve bug