Fix the warning display and

the max value of the first line.