beautified the chat window
fixes to Flow handling