fix chat window