OPINION
GREENWOOD, Judge:
Michael and Dixie Schafir appeal from the trial court’s adverse summary judgment ruling. Defendants Michael T. and Mary L. Harrigan cross-appeal the trial court’s denial of their motion for an award of attorney fees. We affirm.
BACKGROUND
In May 1987, the Schafirs purchased a home from the Harrigans located on the east bench of Salt Lake City. Defendant Jodie Bennion was the listing real estate agent for the sale. Approximately three years earlier, defendant AmDevCo Inc., a construction company, had built the home and sold it to the Harrigans. Bennion was also the listing agent on this earlier sale. Defendant Henry D. Moyle, a vice-president and director of AmDevCo, was involved in designing and supervising the construction of the Harri-gans’ home.
Shortly after purchasing the home from the Harrigans and moving in, the Schafirs
claim they discovered numerous design and construction defects. Specifically, the Scha-firs assert that at the time of sale the house had the following deficiencies which they subsequently discovered or which independently manifested themselves: (1) the driveway, garage, and north side patio had settled due to improper compaction of the fill material upon which the home was built; (2) the floor framing over the garage had moved, causing gaps between the master bedroom ceiling and fireplace as well as between the floor and interior walls, cracks in the sheet-rock walls, and misalignment of interior doors; (3) the floor level of the balcony was approximately one inch higher than the interior floor, causing water to leak into the interior floors and walls; (4) the stone masonry veneer covering portions of the home’s exterior walls was improperly installed, allowing water to penetrate behind it, causing the veneer to deteriorate, loosen, and fall off; (5) the downspouts and landscaping were faulty, “resulting in improper drainage of surface water, saturation and settlement of fill material and infiltration of water through and under the foundation walls”; (6) the frames and stops of the home’s plate glass windows allowed water to penetrate into the walls and around the glass; (7) the insulation was either improperly installed or not installed at all; and (8) the water pipes were installed “in exterior walls and other locations subjecting the pipes to freezing temperatures.”
The Schafirs assert that the Harrigans, as well as Bennion, knew of many of these defects at the time of sale yet failed to disclose their existence to the Schafirs. The Schafirs base this allegation on a letter the Harrigans wrote to Moyle in December 1985, in which they identified several items in the home that were either never completed satisfactorily during construction or poorly constructed and in need of additional work.
The defects mentioned in the Harri-gan/Moyle letter, and which the Schafirs emphasize in their brief, are: (1) waterpipes connecting the bottom floor bathroom, laundry room, and kitchen sink were placed one and one-half inches from the outside wall of the house, in violation of Salt Lake building codes;
(2) the interior of the garage settled considerably causing a break in the cement all around the perimeter of the garage; (3) the concrete driveway cracked considerably from settling; and (4) the garage doors were out of line due to settling. The Harrigans indicated in this letter that they were trying to sell the house and consequently requested that Moyle take immediate action to correct the problems.
On March 20, 1986, Grant E. Wartena, president of AmDevCo, responded to the Harrigans’ letter and offered them $530 to
settle their claims against him and AmDev-Co.
The Harrigans agreed to Mr. Warte-na’s offer and signed a general release. The Harrigans arranged for Bob Bell, a contractor, to repair the burst water pipe. Thereafter, the Harrigans spent two more winters in the home without any further problems with freezing pipes.
After the Schafirs purchased the home and discovered its defects, they brought suit against numerous individuals, including Moyle, Bennion, and the Harrigans. In turn, each of these defendants filed a motion for summary judgment with the trial court. First, the trial court granted Moyle’s motion for summary judgment, ruling that the Scha-firs could not recover their economic losses, that the doctrine of caveat emptor applied, and that the trial court would not pierce AmDevCo’s corporate veil to hold Moyle personally hable. Next, the trial court granted Bennion’s motion for summary judgment, ruling that there was no genuine issue of material fact as to Bennion’s lack of knowledge of defects in the home at the time of the sale to the Schafirs. As to the Harrigans, the trial court initially denied their summary judgment motion, but allowed for reinstatement at a later time. Subsequently, the Harrigans moved for, and the trial court granted, a partial summary judgment on the breach of warranty, misrepresentation, and mutual mistake claims.
This appeal followed.
ISSUES
The Schafirs question the trial court’s grant of summary judgment to ah three defendants. First, the Schafirs argue that the trial court improvidently granted Moyle’s summary judgment motion because (1) a cause of action for negligence or strict liability supports recovery of economic losses, (2) the doctrine of caveat emptor does not apply to latent defects or defects known only to the seller, and (3) the question of whether Moyle should be personally hable by piercing the corporate veil presents an unresolved question of fact. Second, as to Bennion, the Schafirs assert summary judgment was inappropriate because (1) Bennion had a duty to disclose, (2) there are genuine issues of material fact that preclude summary judgment, and (3) the contractual- disclaimer provision from the Harrigan/Schafir agreement provides no relief to Bennion. Finally, the Scha-firs insist the trial court erred in granting the Harrigan’s partial summary judgment motion because (1) there remain genuine issues of material fact, and (2) the Harrigans were not entitled to judgment as a matter of law on the misrepresentation and breach of warranty claims.
STANDARD OF REVIEW
Summary judgment is appropriate “if the pleadings, depositions, answers to interrogatories, and admissions on file, together with the affidavits, if any, show that there is no genuine issue as to any material fact and that the moving party is entitled to a judgment as a matter of law.” Utah R.Civ.P. 56(c). Entitlement to summary judgment is a question of law; therefore, we give no deference to the trial court’s ruling.
Higgins v. Salt Lake County,
855 P.2d 231, 235 (Utah 1993). Furthermore, because disposition of a case on summary judgment denies the benefit of a trial on the merits, we must review the facts and reasonable inferences therefrom in the light most favorable to the losing party.
Reeves v. Geigy Pharmaceutical, Inc.,
764 P.2d 636, 640 (Utah App.1988).
ANALYSIS
Claims Against Moyle
1. Economic Loss Rule
a. Negligence Theory
The Schafirs assert as error the trial court’s decision that their losses for repara
tion costs and diminution in value, i.e., economic losses, are not recoverable under a tort theory. To support their position, the Schafirs cite several non-Utah cases that have allowed damages for economic losses in negligence cases.
In addition, the Schafirs cite
W.R.H., Inc. v. Economy Builders Supply,
633 P.2d 42 (Utah 1981) as support for their position that economic losses stemming from negligent construction are recoverable in Utah.
The recent case of
Maack v. Resource Design & Construction, Inc., 875
P.2d 570 (Utah App.1994) discussed
W.R.H.
and Utah’s economic loss rule.
Maack
held that
W.R.H.
“arguably stands for the proposition that economic losses are recoverable in Utah,
but only in negligent manufacture cases.
As the present ease involves alleged negligent construction rather than negligent manufacture,
W.R.H.
is not controlling.”
Id.
at 581 (emphasis added);
see also Nastri v. Wood Bros. Homes, Inc.,
142 Ariz. 439, 690 P.2d 158, 164 (App.1984) (holding economic losses not recoverable under tort theory where damage claimed is to structure itself rather than to personal property or personal injury);
Redarowicz v. Ohlendorf,
92 Ill.2d 171, 65 Ill.Dec. 411, 413-14, 441 N.E.2d 324, 326-27 (1982) (stating that to recover in negligence there must be showing of harm beyond disappointed expectations and loss of benefit of bargain in purchase of home);
Crowder v. Vandendeale,
564 S.W.2d 879, 882 (Mo.1978) (noting that recovery for property damage caused by latent structural defects is not actionable in negligence).
The issue of economic losses in
Maack
and the present case is indistinguishable; both involve latent defects caused by allegedly negligent construction of a personal residence and a request for recovery of economic losses. We believe that
Maack
controls the outcome in the present case
and therefore hold that the Schafirs cannot recover their economic losses under a theory of negligent construction.
b. Strict Liability Theory
The Schafirs next assert the right to recover their economic losses under a theory of strict liability. The
Maack
court noted that in
Ernest W. Hahn, Inc. v. Armco Steel Co.,
601 P.2d 152, 158 (Utah 1979), the Utah Supreme Court adopted the doctrine of strict liability as outlined in the Restatement (Second) of Torts § 402A, at 347-48 (1965).
Maack,
875 P.2d at 581. As that doctrine relates to defective products, it grants recovery to an injured party only if the seller sold the product in a defective condition which was unreasonably dangerous to the purchaser.
Id.
In the present case, the Schafirs’ strict liability claim fails for two reasons. First, the rationale of
Hahn
and
Maack
establishes that Moyle was not a “seller” of the allegedly defective parts or pieces. Rather, he merely utilized the defective components, if any, in building the house. Furthermore, the Scha-firs have not shown that the defective components in the house, such as the water pipes and the cracked cement, were sold in a defective condition that was unreasonably dangerous to people occupying the home. Accordingly, the Schafirs cannot recover their economic losses under a strict liability theory.
2. Caveat Emptor
The Schafirs next argue that the trial court granted Moyle’s summary judgment motion on the mistaken notion that caveat emptor applies in this case. Specifically, they assert that caveat emptor does not apply to cases involving latent defects.
The general rule in this state is that the doctrine of caveat emptor still applies to the sale of real estate. The Utah Supreme
Court has stated that the “doctrine [of caveat emptor] has eroded in the sale of new residential housing. However, the doctrine appears to prevail in the sale of used property whether homes or commercial.”
Utah State Medical Ass’n v. Utah State Employees Credit Union,
655 P.2d 643, 645 (Utah 1982). Additionally, “[o]ne of the reasons for retaining the doctrine of caveat emptor in the area of real estate transactions is the assumption that the vendee has a reasonable opportunity to inspect the premises.”
Loveland v. Orem City Corp.,
746 P.2d 763, 779 (Utah 1987) (Durham, J., concurring and dissenting).
The Schafirs’ claim that the doctrine of caveat emptor does not apply to a home’s latent defects — and thus does not bar suit against the home’s builder for defects discovered by a remote purchaser — is really an alternative method of arguing for an implied warranty by the builder of a home for all remote purchasers. As the two arguments are essentially the same, our recent holding in
Maack
controls. In
Maack,
we rejected the idea of an implied warranty between builders and remote purchasers
and reaffirmed the general rule that caveat emptor applies to the sale of used residences.
Maack,
875 P.2d at 583. Accordingly, we affirm the trial court’s grant of summary judgment on this issue.
3. Piercing the Corporate Veil
Finally, the Schafirs assert that the trial court erred by granting Moyle’s summary judgment motion because whether the circumstances in this case warrant piercing the corporate veil of AmDevCo to hold Moyle responsible for AmDevCo’s acts is an unresolved question of fact.
This court has recognized that a corporation and its shareholders are separate and distinct legal entities and has validated the purpose of such a distinction to “insulate the stockholders from the liabilities of the corporation, thus limiting their liability to only the amount that the stockholders voluntarily put at risk.”
Salt Lake City Corp. v. James Constr., Inc.,
761 P.2d 42, 46 (Utah App.1988). Additionally, we have stated that “[cjourts must balance piercing and insulating policies and [should] only reluctantly and cautiously pierce the corporate veil.”
Id.
To aid courts in deciding when to pierce the corporate veil, the Utah Supreme Court established a two-prong test in
Norman v. Murray First Thrift & Loan Co.,
596 P.2d 1028 (Utah 1979):
[I]n order to disregard the corporate entity, there must be a concurrence of two circumstances: (1) there must be such unity of interest and ownership that the separate personalities of the corporation and the individual no longer exist, viz., the corporation is, in fact, the alter ego of one or a few individuals; and (2) the observance of the corporate form would sanction a fraud, promote injustice, or an inequitable result would follow.
Id.
at 1030.
In the present case, the Schafirs argue that AmDevCo was really Moyle’s alter ego
through which he personally financed the construction of the Harrigan’s home. To rebut the Schafirs’ alter ego theory, Moyle supported his summary judgment motion by attaching copies of AmDevCo’s articles of incorporation, minutes from board of director’s meetings, corporate annual report filed with the State of Utah, and corporate tax returns for 1983 and 1984.
We believe that Moyle’s evidence satisfactorily demonstrates that AmDevCo observed the requisite corporate formalities and thus distinguished itself as more than Moyle’s alter ego. Consequently, AmDevCo fails to meet the first prong of the
Norman
test regarding corporate formalities. Additionally, we believe that the second prong is likewise not satisfied because the trial court’s recognition of Am-DevCo’s corporate form does not “sanction a fraud, promote injustice, or [create] an inequitable result.”
Id.
This is particularly true given our resolution of the other claims against Moyle. Accordingly, the trial court did not err by granting summary judgment to Moyle.
Claims Against Bennion
1. Duty to Disclose Defects
The Schafirs assert on appeal that the trial court improperly granted Bennion’s summary judgment motion because she had, and failed to fulfill, a duty to disclose to the Schafirs that the water pipes that had burst and been repaired did not conform to the existing building and plumbing codes.
The Utah Supreme Court stated in
Dugan v. Jones,
615 P.2d 1239 (Utah 1980), superseded by statute on other grounds, 846 P.2d 1307 (Utah 1993), that
[ujnder Utah law, the general rule is no fiduciary obligations exist between a buyer and seller of any property. A real estate agent, however, does not occupy the position of a'lay vendor of property. An agent is licensed by the state and is required to meet standards of “honesty, integrity, truthfulness, reputation, and competency.”
[[Image here]]
In this state, it is apparent that the rule of caveat emptor does not apply to those dealing with a licensed real estate agent. Though not occupying a fiduciary relationship with prospective purchasers, a real estate agent hired by the vendor is expected to be honest, ethical, and competent and is answerable at law for breaches of his or her statutory duty to the public.
Id.
at 1248;
accord Secor v. Knight,
716 P.2d 790, 795 (Utah 1986).
Dugan
and
Secor
clearly indicate that Utah real estate agents have an obligation to be honest and truthful in dealing with home buyers. The real estate agent’s duty to be honest and truthful would likely include an obligation to disclose to potential buyers any latent or significant patent defects of which the agent is aware. Real estate agents are not, however, home inspectors and should not be required to thoroughly investigate each home they have on the market to discover latent defects. The responsibility to observe patent, and any discoverable latent, defects falls on the buyer of the home and is usually accomplished by hiring a knowledgeable home inspector to scrutinize the home before finalizing a sale.
See Utah State Medical Ass’n v. Utah State Employees Credit Union,
655 P.2d 643, 645 (Utah 1982). Oftentimes, however, real estate agents and sellers are understandably unaware of latent defects in the home at the time of sale. This is an inherent risk involved in purchasing a home. Thus, the mere fact that the real estate agent has a duty to disclose known defects to potential purchasers does not mean that the agent is liable for all subsequent problems that come to light. The purchasers must also demonstrate that the real estate agent misrepresented, or had prior knowledge of, defects in the home. Only when the purchaser can establish that the agent had both the duty to disclose and knowledge of the defects is recovery appropriate.
In the present case, the Sehafirs argue, and we agree, that Bennion had a duty to disclose to the Sehafirs any known defects. However, our review of the pleadings and affidavits on file fails to disclose a genuine issue of material fact regarding Bennion’s position that she had no knowledge at the time of sale of the alleged latent defect involving the water pipes. It is undisputed that the Harrigans sent Bennion a copy of their letter to Moyle discussing the frozen water pipes. Nonetheless, Bennion avers in her affidavit that the Harrigans later informed her that the frozen-water-pipe problem had been fixed and that the Harrigans thereafter did not discuss with her any further problems with the home. To rebut Bennion’s sworn assertions, the Sehafirs produce no additional facts or evidence; rather, they point only to apparent inconsistencies between Bennion’s deposition and affidavit testimony. The Sehafirs claim Bennion asserted in her deposition that the Harrigans would have told her if the problem persisted, while in her affidavit Bennion flatly states that the Harrigans informed her that the problem had been fixed. We believe that this minor inconsistency does not create a genuine issue of fact precluding summary judgment.
In
Celotex Corp. v.
Catrett, 477 U.S. 317, 106 S.Ct. 2548, 91 L.Ed.2d 265 (1986), the Supreme Court discussed the level of evidence required by the nonmoving party to avoid summary judgment under the federal rules of civil procedure.
In our view, the plain language of Rule 56(c) mandates the entry of summary judgment, after adequate time for discovery and upon motion, against a party who fails to make a showing sufficient to establish the existence of an element essential to that party’s case, and on which that party will bear the burden of proof at trial. In such a situation, there can be “no genuine issue as to any material fact,” since a complete failure of proof concerning an essential element of the nonmoving party’s case necessarily renders all other facts immaterial. The moving party is “entitled to a judgment as a matter of law” because the nonmoving party has failed to make a sufficient showing on an essential element of her case with respect to which she has the burden of proof.
Id.
at 322-23, 106 S.Ct. at 2552;
accord Reeves v. Geigy Pharmaceutical, Inc.,
764 P.2d 636, 642 (Utah App.1988).
The Sehafirs bear the burden of proof at trial to establish that Bennion had knowledge of, and failed to disclose, the water pipe’s alleged nonconformance with the building and plumbing codes. We believe that the Sehafirs’ failure to rebut Bennion’s deposition and affidavit testimony with additional facts or evidence showing that Bennion knew of, yet failed to disclose, the alleged plumbing code violation “fails to make a showing sufficient to establish the existence of an element essential to” the Schafirs’ case.
Celotex,
477 U.S. at 323, 106 S.Ct. at 2552. Accordingly, the trial court appropriately granted summary judgment on this issue.
Claims Against the Harrigans
1. Breach of Warranty
The Sehafirs claim the Harrigans breached the warranty contained in the Earnest Money Sales Agreement regarding notice of any building code violations concerning the home.
The doctrine of merger, still viable in Utah,
is applicable when the acts to be performed by the seller in a contract relate only to the delivery of title to the buyer. Execution and delivery of a deed by the seller then usually constitute full performance on his part, and acceptance of the deed by the buyer manifests his acceptance of that performance even though the estate conveyed may differ from that promised in the antecedent agreement. Therefore, in such a case, the deed is the final agreement and all prior terms, whether written or verbal, are extinguished and unenforceable.
Stubbs v. Hemmert,
567 P.2d 168, 169 (Utah 1977) (footnotes omitted);
accord Secor v. Knight,
716 P.2d 790, 793 (Utah 1986);
Embassy Group, Inc. v. Hatch,
865 P.2d 1366, 1370-71 (Utah App.1993). The merger doctrine has been routinely applied when the antecedent agreement contains an abrogation clause.
Embassy,
865 P.2d at 1371. The Utah Supreme Court has also recognized that for purposes of an abrogation clause, a deed is equivalent to a final real estate contract.
Espinoza v. Safeco Title Ins. Co.,
598 P.2d 346, 348 (Utah 1979).
In the present case, the Earnest Money Sales Agreement signed by both parties contains an abrogation clause in section “0” of the general provisions. The clause states that “[ejxecution of a final real estate contract, if any, shall abrogate this Agreement.” It is undisputed that the Sehafirs accepted a warranty deed for the property.
Accordingly, the merger doctrine extinguishes the Earnest Money Sales Agreement and makes preeminent the warranty deed. Therefore, the Sehafirs cannot argue that the Harrigans breached the warranties of section “C” in the Earnest Money Sales Agreement unless that warranty, or another similar one, is contained in the warranty deed or, by its terms, survives the delivery and acceptance of the warranty deed. Section 57-1-12 of the Utah Code lists the specific warranties given when property is conveyed by a warranty deed.
Those warranties do not include notice of building code violations. Hence, the merger doctrine precludes the Sehafirs from arguing that the Harrigans breached a warranty contained in the Earnest Money Sales Agreement. Therefore, we affirm the trial court’s grant of summary judgment on this point.
2. Misrepresentation
The Sehafirs maintain that the trial court erred by granting the Harrigans’ summary judgment motion relating to the Scha-firs’ claim of misrepresentation because there are genuine issues of material fact. The Sehafirs essentially dispute the trial court’s ruling that the issue of the water pipes’ conformance to building and plumbing codes at the time of sale was neither genuine nor material and that the Harrigans made no actionable misrepresentation.
As mentioned above, the Supreme Court in
Celotex
stated that summary judgment should be entered against a party who fails to make a showing sufficient to establish the
existence of an element essential to that party’s case, and on which that party will bear the burden of proof at trial, because the complete failure of proof on an essential element of the nonmoving party’s case necessarily renders all other facts immaterial.
Celotex,
477 U.S. at 322-23, 106 S.Ct. at 2552.
A cause of action for misrepresentation contains numerous elements. Chief among them, however, is the requirement that one party misrepresent a material fact to the other party.
See Price-Orem Inv. Co. v. Rollins, Brown & Gunnel, Inc.,
713 P.2d 55, 59 (Utah 1986). In addition, the party claiming injury must demonstrate that its injury resulted from reasonable reliance on the other party’s misrepresentation.
Id.
The trial court ruled, as a matter of law, that the Harrigans made no actionable representation. We agree. It is undisputed that the Harrigans knew at the time of sale that the pipes had been repaired and that they had been informed, based upon their contractor’s research of the Uniform Plumbing Code (UPC), that the water pipes conformed to the UPC, despite the distance between the pipes and the exterior walls. Moreover, the undisputed facts show that the Harrigans repaired the ruptured water pipes and lived in the house for two additional winters without further freezing or bursting problems before selling the home to the Schafirs and that the Schafirs have not claimed any damage from frozen or burst water pipes. Accordingly, we affirm the trial court’s grant of summary judgment on this issue because the Schafirs have failed to make a showing sufficient to establish the existence of an element essential to their case, and on which they would bear the burden of proof at trial.
3. Attorney Fees
The Harrigans cross-appeal from the trial court’s denial of their motion for
attorney fees. The Earnest Money Sales Agreement provided for payment of reasonable attorney fees to the non-defaulting party. Using this provision as a springboard, the Harrigans requested attorney fees under Utah Code Ann. § 78-27-56.5 (1992).
In Utah, the “[c]aleulation of reasonable attorney fees is in the sound discretion of the trial court and will not be overturned in the absence of a showing of a clear abuse of discretion.”
Dixie State Bank v. Bracken,
764 P.2d 985, 988 (Utah 1988) (citation omitted). In this ease, the trial court denied the Harrigans’ motion for attorney fees because only one of the Schafirs’ claims stemmed from the contract and “any fees or costs uniquely applicable to the [contractual] warranty claim are insignificant.” Although the trial court could have attempted to allocate a portion of the fees to the contractual warranty claim, it decided against such action because “[i]t would not be appropriate.” We believe that the trial court is in the best position to determine how much of the attorney’s time was spent on each of the four issues. In addition, we think that the trial court should determine whether an allocation of fees is appropriate under the circumstances. In this case, the trial court felt it was inappropriate and we defer to its decision because there is no clear abuse of discretion. Therefore, we affirm the trial court’s denial of the Harrigans’ motion to award attorney fees.
CONCLUSION
We affirm the trial court’s grant of summary judgment in favor of the defendants who are parties to this appeal and against the Schafirs. The Schafirs have failed to demonstrate that there exist any genuine issues of material fact that would preclude a grant of summary judgment. In addition, we affirm the trial court’s denial of attorney fees to the Harrigans.
DAVIS and JACKSON, JJ., concur.