code refine on inviteTOArgut