Fix multiple chat bugs