Update main_adapter.rb

fix