memberships cleanup
memberships cleanup (continued)