fix term format (%d -> %s)