fix inviteing