Fixed little problems in chatting