fix unmatched packet header, remove logging