First cut fix of issue with pools and transactions