fix chat system