fix the chart bug
the total minute should not be less than zero