fix user invitations