delivered the opinion of the court:
This is an appeal from the denial of a motion by defendant, Michael Norris, to withdraw his plea of guilty and to vacate the judgment entered on the plea. Pursuant to a plea agreement, defendant pleaded guilty to the offense of armed robbery (Ill. Rev. Stat. 1973, ch. 38, par. 18 — 2) and was sentenced to a term of four to 10 years, plus five years parole. The sentence was in accordance with the State’s recommendation, which included concurrent sentences on other pending indictments. Defendant subsequently filed a pro se motion to withdraw the plea, vacate judgment, and request appointment of different counsel. He appeals from the denial of his motion without an evidentiary hearing, raising the following issues for our review: (1) whether the trial court abused its discretion in denying the motion without holding an evidentiary hearing; and (2) whether defendant was denied his right to effective assistance of counsel at the hearing which was conducted.
Within 30 days defendant filed a pro se motion, setting forth the following allegations: that he is innocent and has an alibi defense; that he did not understand the term “jury waiver” or his right to a jury trial; that he did not understand the term “coercion”; that he was unfairly persuaded to plead guilty because defense counsel failed to develop and explore the possibilities of an alibi defense; that he did not willingly, knowingly, and understanding^ plead guilty or waive any rights; and that he did not have a good relationship with his lawyer and the court refused to permit counsel to withdraw and appoint a new attorney. Defendant also filed an “Affidavit in Forma Pauperis and Request for Appeal Counsel” requesting representation by the State Appellate Defender.
Defendant was represented at the post-trial hearing by one of the assistant public defenders who had represented him at the time of the plea. After defense counsel stated that he had read the transcript of the plea proceedings, he said that they would stand on the pro se motion as presented. When the court asked the attorney if he had any argument on the motion, counsel responded:
“I believe the basis of the argument on the motion would be that Mr. Norris did not * * * at the time of the taking of the plea fully understand the rights he had and the rights he was waiving. That he did encounter some difficulty communicating and having a good relationship with his attorneys.
I was one attorney that represented him, Mr. Mikula was the other. I think Mr. Mikula was with him at the time of the plea.
His allegations are that our office or other attorneys did not explain everything clearly enough to him, Judge. I obviously am not going to be a witness against Mr. Norris on his behalf.”
Thereupon, the trial court stated that it had read the transcript and would deny the motion to withdraw the plea and vacate judgment. The public
I.
We note at the outset that the trial court acted properly in accepting defendant’s plea of guilty. Following the requirements of Supreme Court Rule 402 (Ill. Rev. Stat. 1973, ch. 110A, par. 402), the court informed defendant of his rights and made a determination of the plea’s voluntariness and its factual basis. The court’s conduct of the proceedings fulfilled the purpose of the rule; that is, to safeguard a defendant’s rights by assuring that a guilty plea is intelligently, understanding^, and voluntarily made. (People v. Ginder (5th Dist. 1975),
On appeal defendant contends that the court’s refusal to hold an evidentiary hearing was an abuse of discretion; the State contends there was no abuse because evidentiary hearings are not authorized by Rule 604(d). Although we do not agree with defendant’s belief that any allegation of error going to the propriety of the plea proceedings automatically mandates an evidentiary hearing, such a hearing may be required in some situations. The rule states that, “When the motion is based on facts that do not appear of record it shall be supported by affidavit.” Since the motion may be based on facts outside the record, an evidentiary hearing must necessarily be contemplated where a defendant, by his supporting affidavits, has alleged sufficient facts to challenge the correctness of the plea proceedings. We believe that the evidentiary hearing envisioned by Rule 604(d) is similar in some respects to that conducted pursuant to the Post-Conviction Hearing Act (Ill. Rev. Stat. 1973, ch. 38, par. 122 — 1 et seq.). That act, however, relates only to constitutional questions not previously raised on direct appeal; and even the post-conviction petitioner is not entitled to an evidentiary hearing as a matter of right. (People v. Farley (1st Dist. 1976),
Defendant also maintains that an evidentiary hearing was required because his attorney at the hearing failed to file the certificate set forth in Rule 604(d):
“The defendant’s attorney shall file with the trial court a certificate stating that the attorney has consulted with the defendant either by mail or in person to ascertain his contentions of error in the entry of the plea of guilty, has examined the trial court file and report of proceedings of the plea of guilty, and has made any amendments to the motion necessary for adequate presentation of any defects in those proceedings.”
Defendant argues his counsel’s failure to file the certificate supports his claim of inadequate assistance of counsel and the need for an evidentiary hearing. The State responds in the alternative: either the certificate requirement does not apply where the same counsel represents defendant at both the plea and withdrawal proceedings; or defendant’s attorney substantially complied with the rule because he indicated that he had read the transcript and must have consulted with defendant when he represented defendant in the previous proceeding. We hold that the certificate requirement is applicable in all cases, but that substantial compliance with the rule in some cases is acceptable.
Our decision is consistent with the line of cases holding substantial compliance sufficient under other Supreme Court Rules. For example, the requirement that the attorney for a post-conviction petitioner must show consultation with his client may be fulfilled by substantial compliance. (Ill. Rev. Stat. 1973, ch. 110A, par. 651(c); People v. Drew (1st Dist. 1976),
The purpose of the Rule 604(d) certificate is to demonstrate that defense counsel has consulted with defendant to ascertain his allegations of error, has examined the necessary files, and has amended the motion where needed. The record before us reflects no consultation between defendant and his attorney. Although the assistant public defender recited the gist of defendant’s motion, the attorney made no oral representations whatsoever that he had consulted with defendant. Having failed to consult with his client, the attorney did not even substantially comply with the rule. The attorney’s failure to consult with his client or to file the certificate is a crucial issue in the case at bar. Defendant contends that this failure is symptomatic of the attorney’s conflict of interest which rendered defendant’s representation inadequate.
II.
Defendant was represented at the hearing by one of the two assistant public defenders who had represented him when he entered the guilty plea. As one of defendant’s allegations of error concerned his representation earlier, he contends that his counsel could not adequately present his claim due to a conflict of interest. At the hearing on defendant’s motion to withdraw his plea of guilty and to vacate the judgment entered thereon, defense counsel alluded to defendant’s claim of inadequate representation but stated that he would not be a witness.
In the analagous situation of a post-conviction proceeding, our supreme court has recognized that an inherent conflict of interest confronts the public defender’s office when an assistant charges that another assistant incompetently represented the petitioner at trial. (People v. Terry (1970),
In view of counsel’s conflict of interest, the denial of defendant’s motion to withdraw his plea and to vacate judgment was erroneous. We remand the cause and direct the trial court to appoint counsel other than the public defender, and to thereafter require such counsel to file the certificate in compliance with Rule 604(d) as a condition precedent to ruling on the motion. (People v. Moore (4th Dist. 1976),
In summary, therefore, the judgment of the circuit court of Cook County denying defendant’s motion to withdraw his plea of guilty and to vacate the judgment is reversed. The cause is remanded to the trial court with directions to proceed consistent with this opinion.
Reversed and remanded with directions.
STAMOS and PERLIN, JJ., concur.
Notes
See Webster, The Public Defender, The Sixth Amendment, and the Code of Professional Responsibility: The Resolution of a Conflict of Interest, 12 Am. Crim. L. Rev. 739 (1975).
