fix some bugs for log analyse