Optimization of bug chat records lost.