fixed application.rb file