fix add-friend repo transaction