fix bug in index.html.erb