Fix generated-string format