Fixed index.erb & main.rb