catches bad packets