Fix ValueError:zero length field name in format