fix in CompareLogMain