Fixed bug in index.html.erb