fix getMaxMembers