some bugs corrected
+ PACKET_OUT bug