Fixed another bug related with chat-format