fix bug with open chat message