fix transmission.rb