fixed app.rb for widget layout