Fixed the chat issue.

Close #11