fixed incompatible comparison for mail headers.