Fix formatting of generatePhrase