fixed the SendInvitationActvity bug