fix view/index.erb
fix main.rb