dao fix for transactions