fix toggle chatMode