CORE: small potential fix for chat message client crashes