This is a suit in replevin. The property taken under the writ had been sold in August,, 1892, by the plaintiff to the firm of Jewett & Company and shipped to them upon a written order signed by Jewett & Company containing this cause- andjagreement: “All bills payable in current funds or New York exchange. Title to the goods shipped on this order, or any subsequent orders, is to remain in the Michigan Buggy Company until paid for in money, and should anything occur to affect my commercial standing, or should I become insolvent, any amount still unpaid shall immediately become due, and it is agreed and understood that the Michigan Buggy Company have the right to take possession of the goods.” On February 8, 1893, Jewett & Company by their certain instru*555ment of writing duly signed and acknowledged, conveyed and delivered all their property, including that in controversy, to the defendant for the purpose of securing their certain promissory notes to the Saxton National Bank amounting in the aggregate to something like $18,000. This instrument was a deed of trust in form, except that it contained no defeasance clause. The notes thereby intended to be secured had been given to the Saxton National Bank, the beneficiary, for a sum aggregating about $18,000. The larger part, if not all, of this sum had been loaned by said bank to Jewett & Company, prior to the purchase by the latter under the agreement with plaintiff already referred to. On February 9, 1893, Jewett & Company executed to defendant a certain deed of trust also on all their property to secure all of their creditors, except the Saxton National Bank, secured by the deed of the day previous, already referred to. In the second deedit is recited that the lien therein provided was amendatory to that of the said first deed. On February 10, 1893, Jewett & Company executed to defendant a third deed of trust wherein were recited the provisions of the first and also containing the defeasance usual in deeds of trust. It was also stated therein that the instrument was executed for the purpose of reforming the first between the same parties and for the purpose of more fully and perfectly expressing the intention of the parties to mortgage the property described in both, instruments to secure the debts in each described. At the time of executing these instruments Jewett & Company were insolvent.
There was a trial and judgment for the defendant, to reverse which, the plaintiff appealed.
The first ground of the plaintiff’s appeal is, that the trial court committed error against it in its action in refusing to tell the jury, by an instruction asked by *556it, numbered 1, that, under tbe contract read in evidence between plaintiff and Jewett & Company, tbe title to tbe property in controversy Remained in tbe plaintiff and was in it at tbe time of tbe beginning of tbe suit. Tbe question raised by this contention and wbicb we are obliged to decide is a vital one.
Where property is sold upon condition that tbe title is to remain in tbe seller until tbe purchase money is paid, tbe contract is valid at common law. Benjamin on Sales, sec. 318; Tiedeman on Sales, sec. 200; 2 Schouler’s Personal Property, secs. 277, 284.
And is enforceable against even a bona fide purchaser. Wangler v. Franklin, 76 Mo. 659; Robbins v. Phillips, 68 Mo. 100; Parmelee v. Catherwood, 28 Mo. 480. And so it was declared in tbe last cited case that, where by express agreement of tbe parties tbe title is to remain in tbe seller until tbe payment of tbe price, as was tbe agreement in tbe present case, such payment is strictly a condition precedent, and, until performance, tbe right of property is not vested in tbe purchaser.
But this rule of tbe common law has been greatly modified by our statute wbicb provides: “No sale of goods and chattels, where possession is delivered to tbe vendee, shall [be subject to any condition whatever as against creditors of tbe vendee or subsequent purchasers from such vendee in good faith, unless such condition shall be evidenced by writing, executed and acknowledged by tbe vendee and recorded as now provided in cases of mortgages of personal property.” R. S., sec. 5178. This section has been authoritatively construed to extend alike to prior and subsequent creditors. Collins v. Wilhoit, 35 Mo. App. 585; s. c., 108 Mo. 451. And it has been held that a mortgage of personal property wbicb does not comply with tbe requirement of Revised Statutes, section 5176, is invalid, both as to creditors and purchasers, although they have *557actual notice of it. Bevans v. Bolton, 31 Mo. 437; Collins v. Wilhoit, 108 Mo. loc. cit. 458. It is thus seen that while the agreement between plaintiff and Jewatt & Company, which provided that the title to the property in question should remain in the former until the purchase money was paid, though in writing, was not acknowledged and recorded as required by the statute. While doubtless valid between the parties thereto it was invalid as to both prior and subsequent creditors of Jewett & Company. As to such creditors it was as if no such contract had been made between Jewett & Company and plaintiff.
This brings us to the consideration of the question whether the defendant stood in the relation of creditor to Jewett & Company. It is not disputed that the Sax-ton National bank was a Iona fide creditor of Jewett & Company, both at the time of the sale and delivery to them by plaintiff of the property and the subsequent execution of the instruments to defendant, under which the possession of it was delivered to him by Jewett & Company. It can not be successfully gainsaid that the first instrument executed by Jewett & Company to defendant, would have been a formal and perfect deed of trust, had it contained á defeasance clause. These parties, two days after the execution of this defective instrument, executed a further one wherein they undertook to supply the omission and thus remedy the defect. It unmistakably appears from the evidence adduced by the plaintiff that the defeasance was left out of said instrument by the mistake of the lawyer who wrote the same, and that the amended .deed was executed to correct the mistake and to fully express the original intention of the parties to secure the debts therein referred to. A court of equity would have corrected this mistake had its interference been invoked. No right had intervened in respect to the property that *558could preclude the parties from amending their first deed so as to made it conform to their intention at the time it was executed. It is now well settled in this state that if an instrument, as it is reduced to writing, fails to express the contract which the parties actually enteréd into, equity will reform it, and this it will do, .though such failure was the result of a mistake in law. Corrigan v. Tiernay, 100 Mo. 276; Griffith v. Townley, 69 Mo. 13; Cassidy v. Metcalf, 66 Mo. 519; Smith v. Patterson, 53 Mo. App. 66. We have no doubt, under the evidence, that a court of equity would have reformed the first deed, and that the parties thereto had the right themselves, as they did, to reform it so as to make it conform to, and clearly express, their intention. Martin v. Nixon, 92 Mo. 35, 36; Price v. Reed, 38 Mo. App. 503; Young v. Cason, 43 Mo. 179; 48 Mo. 259; Bruse v. Nelson, 35 Iowa, 157; Geib v. Reynolds, 35 Minn. 331; Banes v. Mott, 64 N. Y. 397; Stimpson v. Pease, 53 Iowa, 572; Wooden v. Haviland, 18 Conn. 101.
The two instruments taken together constitute, as already intimated, a perfect deed of trust in the nature of a mortgage. It clearly appears from these instruments that Jewett & Company retained their equitable interest in the property therein described. These instruments, when construed together or singly, can not be held to evidence an absolute appropriation of the property to the payment of the debts therein mentioned. The first of them does not fulfill the definition of .a deed of trust, unless aided by the amendatory deed,, for the reason that it contains no defeasance clause disclosing a retention by Jewett & Company of their equitable interest or right of redemption. But it sufficiently appears from the recitals therein that it was given to secure the payment of the debts to the Saxton National bank, and not all the debts of Jewett & Com*559pany; that the proceeds of the sale of the property were to be applied to the payment of said bank debt, and if, after satisfaction, there remained a surplus it was to be paid over to Jewett & Company; that, if the trustee died before executing the trust, the sheriff act in his stead. These recitals. show that it was intended thereby to create a security, though it contained no defeasance clause. In the light of all the surrounding circumstances reflected by the evidence, we must construe the instrument to be a mortgage. Hargadine v. Henderson, 97 Mo. 375; In re Assignment of Zwang, 39 Mo. App. 356, 369; Warner v. Littlefield, 89 Mich. 329; s. c., 50 N. W. Rep. 721; Gage v. Chesebro, 49 Wis. 486; State Bank v. Chapelle, 40 Mich. 447; Baker v. Hall, 13 N. H. 298. And when viewed in connection with the amendatory instruments, it is a deed of trust complete and effective. The defendant is, therefore, in possession of the property, which plaintiff claims under said instrument, and, whether regarded as a mortgage or a deed of trust, the result is the same, since, in either case, said property is held by defendant under it as a security for the payment of the d.ebt of Jewett & Company to the creditor bank.
The attitude of the defendant is that of creditor or the trustee of a creditor having a lien for its debt on the property, and it must needs follow as a legal consequence that the said contract between plaintiff and Jewett & Company, by which the former retained the title to the property, is, as against defendant in his trustee capacity, absolutely invalid.
The title to the property as to the defendant was not in the plaintiff as against defendant at the commencement of the suit, as we have seen, and for that reason the trial court did not err in refusing the plaintiff’s instructions which so declared. It results, as a corollary to the foregoing ruling, that the trial court *560did not err in declining to instruct the jury for plaintiff, as a matter of law, that under the pleadings and evidence the title to the property in controversy was in plaintiff at the time of bringing of this suit. It further follows, from what has been said, that said instrument, whether viewed by itself or in connection with that correcting it, is not in any legal sense a voluntary deed of assignment for the benefit of all the creditors of Jewett & Company, and therefore the trial court did not err in refusing to so instruct the jury at the instance of the plaintiff.
No error is discovered in the action of the trial court in the giving of the instructions asked by defendant. They are in accord with the principles of law which we think applicable to the case, and so we find no fault with them.
Judgment of the circuit court will be affirmed.
All concur.