edit detail transfer inside
fig bug return borrow