flash message render_css method modified