fixes minor not problem in index.rb