fixed error on render index.html.erb