Fixing membership creation