make Set support foreach

Fixed