clean up app.rb