Fixed invite code setting