fixed the double onpacket bug in old ie