log warning on bad header read