Fixed input bug in transaction.new