Defendant Murleen Kay Kunzman appeals from the district court’s order denying her motion to set aside her criminal convictions pursuant to 28 U.S.C. § 2255. 1 Her appeal raises issues of subject matter jurisdiction, double jeopardy, ineffective assistance of counsel, res judicata, and collateral estoppel. Because none are meritorious we affirm.
Defendant and her husband (“Kunzmans”) defrauded numerous investors who purchased limited partnership investments in Real Estate Mortgage Investment Conduits (“REMICs”) from them. The Kunzmans conducted a Ponzi scheme, in which money from later investors was used to pay earlier investors. After the scheme collapsed, the Kunzmans filed for bankruptcy protection.
See United States v. Kunzman,
A number of the investors filed an adversary proceeding in the Kunzmans’ bankruptcy, alleging that the money they had invested in the REMICs constituted a non-discharge-able debt. The bankruptcy court awarded judgment in favor of twelve of the plaintiffs, finding that the debts and damages awarded were non-dischargeable.
Approximately one and one-half years after entry of the judgment in the bankruptcy proceeding, a federal grand jury returned a superseding indictment charging the Kunz-mans and one of their employees with numerous counts of securities fraud, mail fraud, bank fraud, and money laundering. Defendant pleaded guilty to two counts of money laundering and three counts of securities fraud. Her sentence included an order that she pay restitution to some of her victims. She later filed a petition with the district court which it properly construed as a § 2255 motion raising the issues we treat in this appeal.
Defendant has requested that we issue her a certificate of appealability so that she may prosecute her appeal. She filed her habeas petition on August 15, 1995, and therefore does not need a certificate of ap-pealability to proceed. 2
*188
We first consider whether defendant’s claims are procedurally barred by her failure to raise them in a direct appeal. “Section 2255 motions are not available to test the legality of matters which should have been raised on direct appeal.”
United States v. Warner,
There is, however, a further procedural bar to be considered. Defendant’s entry of an unconditional guilty plea to the charges against her waived all nonjurisdic-tional defenses.
See United States v. Robertson,
S.Ct. at 2066-67. We consider the nonjuris-dictional issues only in the context of her claim of constitutionally ineffective assistance of counsel; we consider whether her counsel’s ineffectiveness would justify setting aside her guilty plea.
See United States v. Gordon,
Defendant contends that Congress exceeded its Commerce Clause authority, when it enacted the securities fraud legislation under which she was convicted.
See
15 U.S.C. § 78j(b). “Where economic activity substantially affects interstate commerce, legislation regulating that activity will be sustained.”
United States v. Lopez,
Defendant next contends that the district court lacked jurisdiction over the prosecution against her, because it arose under or was related to her bankruptcy proceeding. Bankruptcy courts have jurisdiction over bankruptcy cases and some civil matters arising in or related to such cases. See 28 U.S.C. §§ 157, 1334. Neither of these statutes, however, grants bankruptcy courts exclusive jurisdiction over post-discharge criminal matters involving the debt- or. Defendant’s argument is frivolous.
*189
Defendant contends that her criminal prosecution was an impermissible attempt to collect a discharged debt.
See
11 U.S.C. § 524(a)(2) (discharge in bankruptcy operates as injunction against collection proceedings). She fails to show that the principal motivation behind her prosecution was to collect on a discharged debt.
See Brinkman v. City of Edina (In re Brinkman),
Defendant next argues that her prosecution violated the Double Jeopardy Clause, because she already had been “punished” by the judgment entered against her in the bankruptcy proceedings. We agree with the First Circuit that “[a] monetary sanction which has no punitive function, i.e., has no purpose other than restitution or compensation for the loss engendered by the defendants’ conduct is not punishment within the ambit of the double jeopardy clause.”
United States v. Kayne,
Finally, defendant argues that the discharge order precluded the criminal prosecution on principles of res judicata or collateral estoppel. Res judicata (claim preclusion) applies only when (1) the parties in the instant action were parties or in privity with a party in the prior adjudication; (2) the claims are identical; and (3) there is a final judgment on the merits.
See Sil-Flo, Inc. v. SFHC, Inc.,
Defendant has not shown that her counsel was ineffective in failing to raise the non-meritorious issues she presents. The judgment of the district court is therefore AFFIRMED. Defendant’s motion for expedited procedures is DENIED.
Notes
. After examining the briefs and appellate record, this panel has determined unanimously that oral argument would not materially assist the determination of this appeal. See Fed. R.App. P. 34(a); 10th Cir. R. 34.1.9. The case is therefore ordered submitted without oral argument.
. In the recent case of
Lindh v.
Murphy,-U.S. -,
