fixed header name used in encode_properties