fixed main.html.erb stuff