Chat fix to display messages orderly