tweak for edit/transaction