bug:in2out out2in