MEMORANDUM OPINION
Debtors in this Chapter 11 case are the owners of two Subway Sandwich and Salad stores. Movants, Subway Real Estate Corporation and Doctor’s Associates, Inc. (collectively referred to as “Subway”), are parties to franchise and sublease agreements with the debtors. On February 22, 1994, this Court denied Subway’s Motion for a Declaratory Judgment that the franchise agreement and sublease had been terminated prior to the filing of the bankruptcy petition. Debtors have since assumed thоse agreements. The only remaining issue is Subway’s request for attorney’s fees pursuant to 11 U.S.C. § 365(b)(1)(B). This is a core proceeding under 28 U.S.C. § 157(b)(2)(A), (B), and (M) over which the Court has jurisdiction pursuant to 28 U.S.C. §§ 1334(b), 157(a), and 157(b)(1). For the reasons set forth below, I deny Subway’s request for attorney’s feеs.
FACTUAL BACKGROUND
Prior to the bankruptcy filing, debtors were in default under the franchise agreement and two sublease agreements. As a result, Subway brought an action against the Ryans in the Circuit Court of Jackson County, Missouri, relating to the lease default. A final judgment for pоssession of the two leasehold store locations and restitution was entered. However, by agreement of the parties execution on the judgment was stayed so long as the debtors made certain payments to Subway. A judgment, containing the terms of such agreement, was entered by the *467 Circuit Court on May 11, 1993. The agreement required payments to be made to Subway Real Estate Corporation, the sublessor under the sublease agreement. Doctor’s Associates, the franchisor, was not a party to such litigation.
Subsequent to the date of such judgment entry, debtors defaulted on their payment thereunder. In October, 1993, Subway Real Estate Corp. filed a request with the Jackson County Sheriffs office to evict debtors from both store loсations. Ryan’s Subs, Inc. filed a Chapter 11 petition on December 3, 1993, before the eviction process had been completed, and while debtors were still in possession of both premises.
In addition, prior to the bankruptcy filing, Doctor’s Associates attempted to terminate the franchise agreement with debtors by giving notice of default in obligations due under such agreement.
On December 13, 1993, Subway filed with the Bankruptcy court a Motion for Declaratory Judgment, or In the Alternative, for Relief from the Automatic Stay. Such motion asked for a finding that both of the subleases and the franchise agreement had been terminated prior to the Chapter 11 filing. In the alternative, Subway moved for permission to terminate such agreements аnd take possession of the leased premises.
At a hearing held on February 22, 1994, this Court determined that neither the subleases nor the franchise agreement had been effectively terminated pursuant to Missouri law prior to the time of the Chaрter 11 filing. 1 As a result, Subway’s Motion for Declaratory Judgment or, in the Alternative, Relief from the Automatic Stay, was denied. The Court ordered the debtor to assume or reject such agreements on or before March 16, 1994, and to pay any arrearages prior to that date. On March 11, 1994, the parties filed with the Court a Stipulated Order concerning the amount of the arrearages due Subway. That Stipulated Order left open the issues of the allowability and reasonableness of attorney’s fees claimed by Subway, All arrearages, other than the disputed attorney’s fees, have now been paid by debtors,
DISCUSSION
As a rule, creditors are not entitled to attorney’s fees in bankruptcy unless a specific provision of the Bankruptcy Code (the “Code”) so allows. See, e.g., 11 U.S.C. §§ 503(b), 506(b). However, section 365(b)(1)(B) of the Code provides:
(b)(1) If there has been a default in an executory contract or unexpired lease of the debtor, the trustee may not assume such contract or lease unless, at the time of assumption of such contract or lease, the trustee—
[[Image here]]
(B) compensates, or provides adequate assurance that the trustee will promptly compensate, a party other than the debtor to such contraсt or lease for any actual pecuniary loss to such party resulting from such default; and
11 U.S.C. § 365(b)(1)(B). In a Chapter 11 case, absent any limitations or conditions that the Court imposes, a debtor-in-possession has all the rights and powers of a trustee. 11 U.S.C. § 1107(а). The debtors-in-possession (“debtors”) have elected to assume both the franchise agreement and the two subleases, and have cured the defaults.
See
11 U.S.C. § 365(b)(1)(A). However, debtors also must compensate Subway for any actual pecuniary lоss resulting from the default. 11 U.S.C. § 365(b)(1)(B). Attorney’s fees incurred in attempting to collect sums due from debtors following default are defined as a pecuniary loss.
See, e.g., In re F & N Acquisition Corp.,
This case raises two issues. First, does section 365(b)(1)(B) create an independent right to attorney’s fees and expenses even if the underlying agreements would not so obligate the debtor. And second, if section 365(b)(1)(B) does not create such a right, what remedy is available to Subway under the franchise agreement and subleases.
Subway cites one case which holds thаt section 365(b)(1)(B) creates an independent right to attorney’s fees incurred following a default.
In re Westworld Community Healthcare, Inc.,
Thus, I reach the issue of what right of recovery is provided by thе subleases and contracts in this case. I will begin with the franchise agreement which provides:
(d) In the event that the Franchisee withholds any monies due under this Agreement ... the Company shall be reimbursed by the Franchisee for all reasonable costs thаt it incurs in pursuing the collection of the withheld monies. These costs shall include but not be limited to Arbitration fees, Court costs, attorneys’ fees, management preparation time, witness fees, and travel expenses incurred by the company.
Debtors’ Exh. D, ¶ 10(d) at 7. Subway, therefore, is entitled to reimbursement for any attorney’s fees and expenses it incurred while trying to collect monies it claims debtors withheld under the terms of the agreement. Those fees were incurred over a period of timе between late 1992 and the filing of this bankruptcy case, when Subway unsuccessfully attempted to terminate the franchise agreement. Were Subway requesting those fees at this time, section 365(b)(1)(B) would be applicable. However, the fees at issue in this motion, with the exception of one billing dated December 1, 1993, were incurred following the filing of the bankruptcy.
Immediately after the bankruptcy filing Subway moved this Court for a declaratory judgment that the franchise agreement had been terminatеd prior to December 3, 1993. I held on February 22, 1994, that the franchise agreement had not been terminated prepetition because Subway had failed to comply with the ninety day written notice requirement of Missouri law. See Mo.Stat. Ann. § 407.405 (1990). I further denied Subwаy’s alternative motion to lift the automatic stay in order to allow for post-petition termination of the franchise agreement. Therefore, virtually all of the fees at issue here were incurred in attempting to convince the Court that the agreements had, or should be, terminated, not in pursuing collection of withheld funds.
*469
In
Child World
the court held that a creditor was not entitled to attorney’s fees incurred in connection with the litigation of bankruptcy law issues.
Debtors lease two properties from Subway Real Estate Corporation under a sublease arrangement. The sublease covering premises known as Northeast Plaza Center, Kansas City, Kansas contains no provision for attorney’s fees in the event of default. See Debtors’ Exh. B. The sublease covering premises known as Landing Venture Associates, Kansas City, Missouri provides:
(6) The purpose of this sublease is so that the Sublessee can operate a SUBWAY Sandwich Shop under the terms of his Franchise Agreement ... If at any time during the term of this Sublease, Subles-see shall default in the performance of any of the terms of the Master Lease or the Franchise Agreement, Sublessor may terminate this lease on ten (10) days written notice to Sublessee ... The parties agree that in the event of litigation the prevailing party’s reasonable legаl fees will be paid by the non-prevailing party and that trial by jury shall be waived.
Debtors’ Exh. C, ¶ 6. I agree that Subway was the prevailing party in the action against the debtors in the Circuit Court of Jackson County resulting in a judgment in its favor. However, none of the fees аt issue here were incurred in that litigation. The litigation in which the fees were actually incurred was Subway’s Motion for Declaratory Judgment and In the Alternative Relief from the Automatic Stay. That motion was denied, therefore, Subway would not be entitled to attorney’s fees under the prevailing party standard found in the sublease. The contract, or in this case the sublease, determines the latitude and scope of the right to recover attorney’s fees and expenses.
In re Westview 74th Street Drug Corp.,
Having found that virtually all of the attorney’s fees in this case were incurred in litigating bankruptcy law issues, and are therefore not allowable under the agreements between the parties, Subway’s motion for attorney’s fees should be denied.
An Order in accordance with this Memorandum Opinion will be entered this date.
Notes
. Missouri law requires a franchisor to provide the franchisee with at least ninety days written notice in аdvance of the termination of a franchise agreement, regardless of any shorter notice period contained in the franchise agreement itself. Mo.Stat.Ann. § 407.405 (1990). The ffan-chise agreement involved here provided for only ten days notice. This Court found that prior to the filing of the Chapter 11 case, Doctor's Associates had not provided the requisite ninety day notice to debtors.
