repair of homepage flash message style