fixed app.rb