fixed index.erb in views