Fixed chat message casting