tweaks to saving of transaction