added limit to chat messages