fix bug for asIterable