fix formatting of chat