fix memberships