fix for chat_log