Appellee, Federal National Mortgage Association (FNMA), has moved for a rehearing on two issues. (1) FNMA’s liability for Hammond’s alleged violations of the Texas Debt Collection Act (TDCA), Tex.Rev.Civ. Stat.Ann. arts. 5069-11.01 to 5069-11.11 (Vernon Supp.1985), (2) the district court’s denial of its motion for an award of attorney’s fees.
*238On the first issue FNMA claims this Court should determine as a matter of law that Hammond was an independent contractor of FNMA, thereby insulating FNMA from liability for Hammond’s conduct. Whether Hammond was an independent contractor rather than an agent of FNMA is a question reserved for the trial court upon remand. We deny the motion for rehearing insofar as it relates to FNMA’s claim that it had no liability for Hammond’s alleged actions.
On the second issue FNMA urges us to reconsider our opinion upholding the denial by the district court of its motion for attorney’s fees. At this stage FNMA’s request cannot be made the subject of a ruling since FNMA has not been exonerated of liability under the TDCA. We do grant the motion for rehearing on this issue to the extent that we modify our opinion to allow the district court to reconsider the awarding of attorney’s fees to FNMA in the event it determines that FNMA is not liable under the Texas Act. Under our remand the district court will retain discretion in the awarding of fees even though attorney’s fees are authorized in the contract. The court may weigh whether such an award would be inequitable or unreasonable in this case. 756 F.2d 1197, 1210; Cable Marine, Inc. v. M/V Trust Me II, 632 F.2d 1344, 1345 (5th Cir.1980).
FNMA’s motion for rehearing therefore is GRANTED to the extent that, on remand, the district court is authorized to reconsider FNMA’s motion for an award of attorney’s fees. In all other respects the motion for rehearing is DENIED.
The petition of Hammond Mortgage Corporation for rehearing is DENIED.