fix an operator __str__ using a deprecated field