clean up transactions