minor compatibility fix in str format method