repair, either in whole or in part, of any building or other improvement, as aforesaid, shall be held to be the agent of the owner for the purpose of this chapter provided, that the lessee or lessees of any mining claim shall not be considered as the agent or agents of the owner?????? Idaho Code ?? 45-501.