changed how the chat got cleared