fix chat example