fix memberships controller