fix implicit conversion for header fields.