fix the large log issue