fix error insertBorrowing