finish sihn-in-out2