The appellant, Lehigh Clay Products, Ltd. (Lehigh), was a lessee of mineral rights in Webster County that were taken by an eminent domain proceeding initiated by the ap-pellee, Iowa Department of Transportation (IDOT). The compensation commission valued the interest that was taken from Lehigh at $3000. In a jury trial that was held in connection with Lehigh’s statutory appeal of the award, Lehigh’s just compensation was fixed at $350,000. The district court granted IDOT’s motion for new trial, but on the subsequent appeal, Lehigh Clay Prods., Ltd. v. Iowa Dep’t of Transp., 512 N.W.2d 541 (Iowa 1994), we reversed that ruling. The disposition on that appeal was concluded by remanding the case to the district court “for a reinstatement of the jury’s verdict and a determination of reasonable attorney fees as provided under Iowa Code section 6B.33.” Id. at 547.
Following our remand order, the district court awarded Lehigh a substantial sum for the attorney fees it had incurred in litigating the award in the district court. Based on our holding in Wilson v. Fleming, 239 Iowa 918, 32 N.W.2d 798 (1948), it found that appellate attorney fees were not recoverable under section 6B.33 (1993).1
The statute under which Lehigh claims entitlement to appellate attorney fees provides as follows:
The applicant shall pay all costs of the assessment made by the commissioners and reasonable attorney fees and costs incurred by the condemnee as determined by the commissioners if the award of the commissioners exceeds one hundred ten percent of the final offer of the applicant prior to condemnation.... The applicant shall also pay all costs occasioned by the appeal, including reasonable attorney fees to be taxed by the court, unless on the trial thereof the same or a less amount of damages is awarded than was allowed by the tribunal from which the appeal was taken.
Iowa Code § 6B.33. As IDOT correctly notes, this court determined forty-eight years ago in Wilson, 239 Iowa at 919, 32 N.W.2d at 798-99, that although the statute authorizes an award of attorney fees in the district court for property owners that are successful in increasing the award of the *528condemning tribunal it does not authorize “a further allowance for services performed by plaintiffs’ attorneys in handling their clients’ ease upon appeal to this court.” Id. Lehigh contends that the Wilson decision was contrary to the plain meaning of the controlling statute and should be overruled.
We have recognized in several cases that when a prior interpretation of a statuté by this court was demonstrably flawed it is our duty to correct the previous error. Henriksen v. Younglove Constr., 540 N.W.2d 254, 260 (Iowa 1995); Ames v. Employment Appeal Bd., 439 N.W.2d 669, 673-74 (Iowa 1989); Kersten Co. v. Department of Social Servs., 207 N.W.2d 117, 121 (Iowa 1973); State v. Johnson, 257 Iowa 1052, 1056, 135 N.W.2d 518, 521 (1965); Stuart v. Pilgrim, 247 Iowa 709, 714, 74 N.W.2d 212, 216 (1956).
A considerable amount of uncertainty as to the substance of the Wilson decision arises from its extremely conclusory analysis of the issue now before us. It proceeded to reach its conclusion concerning appellate attorney fees by first reciting that attorney fees are only recoverable when authorized by statute and then noting that the condemnees had cited no case in which this court had previously allowed appellate attorney fees. The court then stated that certain unidentified “court flies” show a number of cases similar to the Wilson case in which claims for appellate attorney fees were denied. We find that this approach to interpreting the statute was inadequate for a case of first impression.2
Courts will construe a statute in conformity with its dominating general purpose and will read the text in light of overall context. In re Girdler, 357 N.W.2d 595, 597 (Iowa 1994); Fabricius v. Montgomery Elev. Co., 254 Iowa 1319, 1322-23, 121 N.W.2d 361, 364 (1963). The court should, when possible, construe a statute so as to give an intelligent and meaningful purpose to its provisions and, in so doing, may assume that the legislature realized the need therefor. In re Klug’s Estate, 251 Iowa 1128, 1132, 104 N.W.2d 600, 603 (1960). When we reexamine Wilson in light of the language that the legislature employed in section 6B.33 and the manifest goal of allowing the recovery of attorney fees in eminent domain litigation, we are unable to accept the interpretation that was made of that statute.
An appeal from the district court’s final judgment in eminent domain proceedings is simply an extension of the statutory process for challenging the initial determination of the compensation tribunal. The manifest purpose of section 6B.33 is to more nearly make whole those property owners whose lands are taken by eminent domain and who must litigate in the courts in order to obtain a proper determination of their just compensation. If such persons are required to pay their own attorney fees, much of the benefit that might be gained by a successful appeal would be offset by the resulting legal costs. Given this general acceptance of the statute’s purpose, there is no basis for attributing to the legislature an intention to draw an arbitrary distinction between fees in the district court and fees on appeal.
The language of the statute is in no way inconsistent with our conclusion as to its meaning. IDOT’s argument seeking to uphold the Wilson court’s interpretation of sec*529tion 6B.33 unduly focuses on the word “appeal.” It suggests that this word must refer to the appeal to the district court. In fact, that word is just as easily interpreted as referring to the entire judicial process of challenging the award. Because that interpretation is more consistent with the goal of the statute, it should have been accepted in the Wilson ease. Moreover, even if the isolated word “appeal” is believed to identify only the district court proceeding, the right to recover costs and attorney fees extends to costs and fees “occasioned by the appeal” rather than costs and fees of the appeal. Because there can be no supreme court appeal without the district court appeal, the former is obviously occasioned by the latter.
The holdings in Goodwin v. Iowa State Highway Commission, 369 N.W.2d 816 (Iowa 1985), and Atherton v. State Conservation Commission, 203 N.W.2d 620, 622 (Iowa 1973), serve to illuminate the flaws in our Wilson decision. In both of those appeals the issue was the recovery of litigation costs in defending against a taking after the condemning authority eventually abandoned the eminent domain proceeding. In both cases we interpreted Iowa Code section 6B.34 (formerly section 472.34) as being designed to restore a landowner to the status quo. We held in Goodwin that this allowed the re-coupment of appellate attorney fees if the condemnation litigation had proceeded to an appellate court level prior to the condemning authority’s abandonment. Although section 6B.34 and section 6B.33 apply to different situations, the need for recoupment of fees on appeal, in order to make the landowner whole, applies equally in both situations.
To the extent that it is suggested in Goodivin or Atherton that the contrasting result in Wilson may be justified on the basis that some expenses inhere in the compensation for the property, that assertion was not well taken. The way is not open to an appellate court to assert that certain costs and expenses are presumed to inhere in the compensation for a taking where that same court has unequivocally determined that those costs or expenses are not recoverable as compensation for the property. That attorney fees are not recoverable as part of the “just compensation” for the taking is well established in our cases. See City of Ottumwa v. Taylor, 251 Iowa 618, 622, 102 N.W.2d 376, 378 (1960); Welton v. Iowa State Highway Comm’n, 211 Iowa 625, 640-41, 233 N.W. 876, 884 (1930).
The district court correctly applied the Wilson decision as it was announced in that case. That is the role of district courts. We are now convinced, however, that Wilson must be overruled on the issue now before us. We do overrule it at this time. Consequently, we reverse the judgment of the district court and remand the matter to that court for a determination of a reasonable allowance of attorney fees incurred by Le-high on both the prior appeal in this litigation and the present appeal.
REVERSED AND REMANDED.
All justices concur except NEUMAN, J., and McGIVERIN, C.J., HARRIS and TERNUS, JJ., who dissent.. Section 6B.33 and companion statutes relating to eminent domain proceedings were previously found in Iowa Code chapter 472. For convenience, the chapter 6B designation will be used in this opinion.
. In concluding that Wilson was the seminal interpretation of the statute on this issue, we are aware of the decision in Woodcock v. Wabash Railway Co., 135 Iowa 559, 113 N.W. 347 (1907). In that case, the opinion writer expresses a view similar to that of the Wilson court but adds the observation that "[s]ome members of the court are of opinion that attorney’s fees may be taxed upon appeal to this court for services here in virtue of section 2007 [the statutory predecessor to § 6B.33].” Id. at 561, 113 N.W. at 348. Following this disclosure, the opinion went on to decide the case by assuming but not deciding that appellate attorney fees were recoverable under this statute. The court held, however, that the supreme court rather than the district court was the proper body to pass on the allowance of those fees. Consequently, it upheld the district court’s ruling denying an application to that court for appellate attorney fees. Under this court’s current practice in matters in which appellate attorney fees are recoverable, that issue is frequently determined in the first instance in the district court because of the necessity for making a record, see Federal Land Bank v. Woods, 480 N.W.2d 61, 70 (Iowa 1992), but may be determined initially in this court, see Goodwin v. Iowa State Highway Comm'n, 369 N.W.2d 816, 820 (Iowa 1985). In the present case, we are satisfied that the language of our remand order in the earlier appeal justified Lehigh’s raising of this issue in the district court following remand.