fixed type in params merge in memberships controller