modify branch.rb