fixed the variable interpolation on index.html.erb