fix chat freezing