fixed bug for member invitations