use transaction in borrower join
Merge pull request #254 from SingularityGuy/fix-borrower-join

use transaction in borrower join