fixed app.rb for Heroku