fixed a bug in index.html.erb