Fixed accept invitation issue.