add condition for ExtendLend
pull