ctransactions bug fix