Fix chat clearing