Fixed Chat client errors