fixed packet event explicit init problem