fix member_of bug