Under the system of mechanics’ liens in this State a subcontractor’s lien rests upon the theory of subrogation. As to his part of the work he stands in the main contractor’s shoes. If through the main contractor’s indifference the subcontractor omits the things specified, the owner, who has set down what is to be done, cannot be affected by the main contractor’s acceptance or waiver. Subcontractors, therefore, should read over the main contract and always acquaint themselves with its plans and specifications.
The double set of cellar doors here were defective. They did not have iron frames. The doors did not have the specified astragal moulding to cover the joint. The ends of the covering sheet metal on the doors were not turned down into the groove of the iron frames, as required by the specifications.
Although the complaint did not proceed upon the claim of substantial performance, both sides introduced evidence of the *622cost to supply these omissions. Mr. Adelsohn, the architect, estimated one hundred dollars, while plaintiff figured the items at thirty-seven dollars. As Mr. Adelsohn had not made or purchased such articles we think a fair allowance would be fifty dollars.
The vault lights were to be of three-prism glass, set in cast iron non-slipping frames. Instead, plain glass was used, the surface filled in flush with cement. The estimate at sixty cents a square foot for this difference stands uncontradicted.
But the area of these lights is not shown. Defendants introduced their two permits from the city highway department, which were marked in evidence but are not returned in the record. It is stated that they show 264 or 274 feet. But such a permit may include the area of these double cellar doors. Unless the parties can agree on the measured area of these surface vault lights (which should be a matter of no difficulty) this item will have to be sent back to the referee. The marginal lights, also referred to, have been found not to be any part of the plaintiffs’ contract.
The "learned referee found that at the time of filing plaintiffs’ notice of lien and their service thereof the general contractor had so far completed his contract as to be entitled to receive a sum far in excess of the amount of plaintiffs’ lien. Although this finding is here challenged we think it is well supported.
The criticisms that the complaint did not state if any other action had been brought, as required by the Code of Civil Procedure, section 1629, not having been raised in the trial court (where an amendment might have been permitted, Oates & Co., Inc., v. National Fair & Exposition Assn., 172 App. Div. 581) is unavailing here.
The judgment is, therefore, modified by deducting from the $577.03 found due, first, $50 for omissions in the cellar doors; second, the difference in vault lights at the rate of 60 cents per square foot of this area (excluding that of the doors) to be hereafter ascertained; so that plaintiffs recover the residue with interest from November 1, 1912.
Considering that no architect supervised this construction, and that plaintiffs were uninformed as to the owner’s specifications, plaintiffs should have costs of the action.
*623The judgment as thus modified should be affirmed, without costs of this appeal to either party.
Thomas, Stapleton, Mills and Rich, JJ., concurred.
Judgment modified in accordance with opinion, and as modified affirmed, without costs of this appeal to either party.