fix chat issue