delivered the opinion of the court:
Following a jury trial in the circuit court of Jackson County on November 7, 1991, defendant, Kevin Jenkins, was convicted of unlawful delivery of a controlled substance. On December 11, 1991, defendant filed a motion for a new trial, which was denied on December 16, 1991. On December 19, 1991, defendant was sentenced to eight years of imprisonment in the Illinois Department of Corrections (DOC) with credit for 147 days served. He was ordered to pay $500 restitution to the Southern Illinois Enforcement Group, a street-value fine in the amount of $500, and a discretionary fine of $2,000, plus court costs and surcharges. Defendant did not file a motion for reduction of sentence pursuant to section 5 — 8—1(c) of the Unified Code of Corrections (Ill. Rev. Stat. 1989, ch. 38, par. 1005 — 8—1(c)) within 30 days of the imposition of sentence. Furthermore, no objection to the imposition of the discretionary fine of $2,000 or the order of restitution was made at the time of his sentencing hearing.
Defendant appeals only his sentence and the orders for restitution imposed by the trial court. He argues that the trial court abused its discretion (1) by sentencing him to eight years in prison; (2) by ordering him to pay a $2,000 discretionary fine in addition to a $500 street-value fine; and (3) by ordering him to pay $500 restitution to the Southern Illinois Enforcement Group. He also argues that he is entitled to a $5-per-day credit toward his fine for the 147 days he spent in jail prior to sentencing. Finally, he contends that he received ineffective assistance of counsel because his trial counsel failed to file a post-sentencing motion to reduce sentence.
Defendant was convicted of an offense which is a Class 1 felony (Ill. Rev. Stat. 1991, ch. 56V2, par. 1401(bX2)). Section 5 — 8—1(c) of the Unified Code of Corrections provides:
“(c) A motion to reduce a sentence may be made, or the court may reduce a sentence without motion, within 30 days after the sentence is imposed. However, the court may not increase a sentence once it is imposed.
If a motion to reduce a sentence is timely filed within 30 days after the sentence is imposed, the proponent of the motion shall exercise due diligence in seeking a determination on the motion and the court shall thereafter decide such a motion within a reasonable time.
If a motion to reduce a sentence is timely filed within 30 days after the sentence is imposed, then for purposes of perfecting an appeal, a final judgment shall not be considered to have been entered until the motion to reduce a sentence has been decided by order entered by the trial court.
A motion to reduce a sentence shall not be considered to have been timely filed unless it is filed with the circuit court clerk within 30 days after the sentence is imposed ***.” Ill. Rev. Stat. 1991, ch. 38, par. 1005 — 8—1(c).
In People v. Macke (1992), 224 Ill. App. 3d 815, 816, 587 N.E.2d 1113, 1115, we held compliance with this section to be mandatory to avoid waiver of sentencing issues when they were the sole issues on appeal. We drew a parallel between section 5 — 8—1(c) and post-trial motions required to preserve issues on appeal (Ill. Rev. Stat. 1991, ch. 38, par. 116 — 1(b)), and motions to withdraw pleas of guilty, which are mandatory for perfection of an appeal (134 Ill. 2d R. 604(d)). Citing People v. Enoch (1988), 122 Ill. 2d 176, 522 N.E.2d 1124, and People v. Wilk (1988), 124 Ill. 2d 93, 529 N.E.2d 218, we noted that where a defendant fails to file these post-trial motions, the trial court has been denied the opportunity to correct any error that might have occurred, thus burdening appellate counsel and courts of review with the time and expense of preparing and processing appeals. Macke, 224 Ill. App. 3d at 816, 587 N.E.2d at 1114.
The special concurrence declines to follow this court’s decision in Macke, due to the belief that Macke erroneously held that a trial-level motion to reduce sentence was a jurisdictional prerequisite to perfection of an appeal. Admittedly, some of the Macke decision is couched in language which could be interpreted as finding that a motion to reduce sentence is a jurisdictional prerequisite to appeal. However, when read as a whole, the decision views failure to file a motion to reduce sentence as a waiver of that issue where it is the sole question on appeal. Notably, the defendant’s appeal in Macke was not dismissed for lack of jurisdiction, but rather, the trial court’s decision was affirmed.
The Second District of the Appellate Court has cited the Macke decision for the proposition that where a defendant does not raise an excessive-sentence issue in his post-trial motion and does not challenge the basis of his sentence in a motion to reconsider or reduce his sentence, the issue is deemed waived on appeal. In People v. Spencer (1992), 229 Ill. App. 3d 1098, 1101; 595 N.E.2d 219, 221, the court considered the issue raised by the defendant, despite the fact that the issue could have been deemed waived. In People v. Lewis (1992), 235 Ill. App. 3d 1003, 1005-06, 602 N.E.2d 492, 493, appeal allowed (1993), 148 Ill. 2d 649, 610 N.E.2d 1271, the court relied on Macke and dismissed the defendant’s appeal. It stated that the defendant had waived her right to appeal issues relating to her sentencing by failing to file a timely motion to reduce her sentence pursuant to section 5 — 8—1(c). It found that Macke expanded but did not change or overrule any prior cases which had discussed whether a defendant waived the right to appeal a sentence imposed by failing to file a motion to reduce the sentence. It found that the dismissal of appeals where a defendant failed to properly preserve any error that might have occurred by sentencing was appropriate and promoted judicial economy in the finality of judgments. Lewis, 235 Ill. App. 3d at 1006, 602 N.E.2d at 493.
Subsequently, the second district chose to reach the merits of a number of these cases despite acknowledgement of Macke and Lewis as precedent for considering sentencing issues to be waived through a defendant’s failure to file a post-sentencing motion. In People v. Pfister (1993), 240 Ill. App. 3d 931, 936, 608 N.E.2d 1230, 1234, the court clearly delineated the scope of its Lewis decision, stating that it was “limited to a finding that when appealing only the sentence after a trial on the merits, the failure to file a post-sentencing motion results in waiver.” (Emphasis added.) It rejected language in Macke which it believed indicated that this court believed a post-sentencing motion to be a condition precedent to filing an appeal. We are in agreement with the Pfister "court in our belief that the failure to file such a motion after a trial on the merits could, and in this case does, result in waiver. (See Pfister, 240 Ill. App. 3d at 935, 608 N.E.2d at 1233.) In the case at bar, defendant failed to file a motion to reduce his sentence after conviction in a trial by jury, thus waiving the issue on his appeal of his sentence only.
The first district has expressed agreement with Macke, Lewis, and Pfister in People v. Gomez (1993), 247 Ill. App. 3d 68. Because Lewis had been granted leave to appeal but the case was still under review, the court considered the merits of the defendant’s appeal.
The third and fourth districts have chosen not to follow Macke. In People v. Sims (1992), 233 Ill. App. 3d 471, 473, 599 N.E.2d 137, 138-39, the Third District Appellate Court found that a post-sentencing motion was not necessary to preserve error as to sentencing issues. This finding was predicated on the court’s opinion that where a defendant asks for probation and the court sentences him to two years’ imprisonment: “¡T]t does not appear that a useful contemporaneous objection could be made. A motion to reduce sentence might complain one more time of the failure to award probation, but such a motion would add nothing to the original request, and provide the trial court with no opportunity which it had not already enjoyed. Defendant’s position as to sentencing was made known to the court and was not waived.” (Sims, 233 Ill. App. 3d at 473, 599 N.E.2d at 138-39.) The special concurrence in the opinion in Sims aligned itself with our decision in Macke. It observed that the majority opinion suggested that trial judges would routinely deny post-sentencing motions or that defendants would only rehash what had already been presented to trial judges, who were unlikely to admit their mistakes, making it an unproductive and wasteful exercise to point out those mistakes after sentencing. The special concurrence pointed out the necessity of filing a motion to permit the judge to reconsider the sentence and either reiterate the important factors which prompted the sentence imposed or to actually make some change in the sentence if it was excessive under the law and the facts, making a clear record on appeal. (Sims, 233 Ill. App. 3d at 476, 599 N.E.2d at 140 (Knecht, J., specially concurring).) In People v. Alvarado-Aguilar (1993), 244 Ill. App. 3d 433, 434, 613 N.E.2d 342, 343, the third district again rejected Macke, citing its decision in Sims.
In People v. Turner (1992), 233 Ill. App. 3d 449, 456, 599 N.E.2d 104, 109-10, the Fourth District Appellate Court declined to follow our decision in Macke. It found no waiver of the issue for failure to file a post-trial motion raising the issue of excessive sentence, stating that duplicate motions to reduce sentence would not promote judicial economy but rather would prolong cases in the trial court, requiring additional effort by the parties and by the courts. Turner, 233 Ill. App. 3d at 456, 599 N.E.2d at 110.
Although the filing of a post-trial motion raising the issue of excessive sentence or objecting to the imposition of various fines might well prolong the disposition of the case at the trial court level and require additional effort by the State’s Attorney, defense counsel, and the court, the trial court is the appropriate venue in which to raise these issues. It permits the defendant to present argument in support of his position and the State’s Attorney to perhaps present further evidence in support of the sentence imposed and provides the court with the opportunity to rethink its decision. The court may then either amplify the reasons for imposition of the sentence imposed or respond to the defense arguments and make a downward adjustment in the defendant’s sentence or the fines imposed. In any event, the record presented on appeal will be clarified, promoting judicial economy and finality of judgments.
The supreme court recently addressed the issue of preservation of alleged sentencing errors in People v. Pasch (1992), 152 Ill. 2d 133, 216, 604 N.E.2d 294, cert. granted (1993),_U.S___ 124 L. Ed. 2d 678, 113 S. Ct. 2927. In Pasch, the court discussed issues which were properly preserved and refused to review an error alleged to have taken place during the sentencing hearing, stating:
“In reviewing this issue, we find that defendant has waived any alleged error here by failing to object to such testimony and to raise this issue in a post-sentencing motion. (See [People v.] Enoch [1988], 122 Ill. 2d 176[, 522 N.E.2d 1124].) This waiver rule applies not only during the trial, but also during the sentencing hearing.” [Pasch, 152 Ill. 2d at 216, 604 N.E.2d at 330.)
Although the error alleged in Pasch was an evidentiary one, rather than an alleged error in sentencing per se, the court clearly indicated that both a contemporaneous objection and a post-sentencing motion are necessary to avoid waiver of sentencing errors on appeal.
Given this court’s prior decision in Macke and the recent discussion by the supreme court in Pasch of waiver of sentencing issues, defendant herein waived the issues of the length of his sentence and the imposition of a $2,000 discretionary fine and a $500 street-value fine.
The issue of the order entered requiring defendant to pay $500 restitution to the Southern Illinois Drug Enforcement Group was not waived, however. This court found in People v. Lawrence (1990), 206 Ill. App. 3d 622, 625, 565 N.E.2d 322, 324, that when public monies have been expended to purchase drugs by undercover agents, the governmental agency that funded the purchase is not a victim within the ambit of section 5 — 5—6(b) of the Unified Code of Corrections (Ill. Rev. Stat. 1991, ch. 38, par. 1005 — 5—6(b)). Because this order of restitution was imposed following a guilty verdict, rather than as an essential term of a plea agreement into which both parties have entered for legal consideration and were thus bound (see Lawrence, 206 Ill. App. 3d at 625, 565 N.E.2d at 324; People v. Brumas (1990), 204 Ill. App. 3d 542, 548, 561 N.E.2d 1366, 1370), it cannot be upheld. Because a void order may be attacked at any time, defendant has not waived this issue for appeal through failure to file a post-sentencing motion. (People v. Davis (1993), 156 Ill. 2d 149, 155.) The restitution order is therefore vacated.
The record indicates that defendant spent 147 days in custody prior to sentencing. It is devoid of proof that the clerk of the circuit court satisfied the statutory requirement of informing defendant in writing that he was entitled to a credit of $5 per day upon application to the court against his fine for each day spent incarcerated. Thus, defendant did not waive the issue and may legitimately make such application for credit on appeal. (People v. Tippett (1992), 232 Ill. App. 3d 921, 922, 598 N.E.2d 292, 293.) Pursuant to our authority under Supreme Court Rule 615(b) (134 Ill. 2d R. 615(b)), defendant’s $2,000 discretionary fine is modified to reflect credit of $735 for 147 days spent in custody prior to sentencing.
The defendant’s sentence of eight years’ imprisonment was in the midrange of the 4- to 15-year term permissible for the Class 1 felony of unlawful delivery of 5.2 grams of cocaine. (Ill. Rev. Stat. 1989, ch. SG1^, par. 1401(cX2); Ill. Rev. Stat. 1989, ch. 38, par. 1005 — 5— 3(cX2).) The record shows that the court was well aware of the mitigating and aggravating factors presented and considered them in fashioning a sentence which was not an abuse of discretion. (People v. Perruquet (1977), 68 Ill. 2d 149, 156, 368 N.E.2d 882, 885.) Moreover, the court’s imposition of a $2,000 fine without making a specific finding that defendant had the ability to pay was appropriate, given that it was aware of facts which favored such a fine. (People v. Ivy (1985), 133 Ill. App. 3d 647, 656, 479 N.E.2d 399, 406.) Had these issues not been waived under Macke, defendant would not have prevailed. His counsel’s failure to make a contemporaneous objection and to file a post-sentencing motion cannot therefore be construed to constitute ineffective assistance of counsel.
For the above reasons, the order of the circuit court of Jackson County sentencing defendant to eight years’ imprisonment and the order imposing a $500 street-value fine are affirmed, based upon defendant’s waiver of these sentencing issues through failure to contemporaneously object and file a post-sentencing motion. The trial court’s order to defendant to pay $500 restitution to the Southern Illinois Drug Enforcement Group is vacated. Pursuant to Supreme Court Rule 615(b) (134 Ill. 2d R. 615(b)), the $2,000 fine is modified to reflect a credit of $735 for defendant’s 147 days in jail prior to sentencing.
Affirmed in part as modified; vacated in part.
MAAG, J., concurs.