fix total early and total late