app.rb cleanup