fix div bug for unplanned production in output section