This an action of replevin. The plaintiff filed an affidavit in the court below describing certain personal property, and alleging “ that the said plaintiff is the owner of the said goods and chattels, and entitled to the immediate possession of the same; and that said goods and chattels are wrongfully detained from him by defendant, and that the said goods and chattels were not taken in execution on any order or judgment against *52said plaintiff, but were taken by execution issued against plad/ntiff on void judgment, or for the payment of any tax, fine, or amercement assessed against him, or by virtue of any order of delivery — issued under chapter two or eleven of the code of civil procedure.”
The defendant moved to dismiss the case on the •ground that there was not a sufficient affidavit filed as required by the statute. The motion was sustained, and leave given to the defendant to prove' the value of the property taken under the writ. Afterwards the plaintiff filed a motion to amend the affidavit, which was overruled, to which the plaintiff excepted. The parties then entered into an agreement as follows:
“ It is agreed by and between said parties to said action, that a jury shall be waived to assess the damages of said defendant,' and that a return of the property mentioned in said plaintiff’s affidavit, for replevin cannot be had, and that the damages of said defendant is seventy-five dollars and ninety-nine cents.”
Judgment was rendered against the plaintiff for the sum of $75.99 as provided in the agreement, to revei’se which the plaintiff brings the cause into this court by petition in error.
Piling an affidavit in an action of replevin is a proceeding. The term proceeding is used in the code of civil procedure to distinguish all other steps taken in an action from those embraced in the word pleading. O'Dea v. Washington County, 3 Neb., 122. Johnson v. Jones, 2 Neb., 137.
The affidavit in the case at bar is clearly defective. The statute requires the affiant to swear that the goods and chattels were not taken in execution on am/ order or judgment against the plaintiff. The affiant is not to determine the validity of the judgment, and cannot in that proceeding question its correctness. When the affidavit is defective, it is the duty of the court, even after *53a motion to dismiss on that ground has been filed, to permit it to be amended.
It is claimed by the defendants, that the question of amendment is exclusively within the discretion of the district court, and therefore cannot be reviewed by this, court.
In O'Dea v. Washington County, supra, the court sayr^ “ When it is clear that there must have been a radical ‘misapprehension of the true spirit, and scope of the statute under consideration, and in consequence thereof a suitor is deprived of a substantial right, possibly to his great pecuniary injury, it is most unquestionably our duty to interpose, and grant him suitable relief.” Mills v. Miller, 3 Neb., 95.
The application to amend, however, should be made, before the cause is dismissed. The better practice is, to make the order conditional, that, in case of failure to amend in the time and upon the terms prescribed, the action be dismissed.
As the plaintiff made no attempt to amend until the action had been dismissed, the court did not err in overruling the application. The stipulation entered into by the parties is a waiver of all errors. It is agreed that the property described in the affidavit cannot be returned, and that the damages sustained by the defendant are seventy-five dollars and ninety-nine cents. This is decisive of the case. The judgment is clearly right and must be affirmed.
JUDGMBNT AFFIRMED.