printing bad packets