To optimized the interface of chat