improve bad PDU handling