Fix for CreateTransaction