fix bug in application.rb config file