fixed member_id fetch condition