revise fix bug on method of send_packet_out