Quitting chat bug fix.