fix bug: invitation link sent by current user get parsed