clean flash code in app.html.erb