chat messages fix