fix open chat window