add type information on corrupted packet