quick fix for refresh chat bug