delete some css and delete flash message