fixed delete flash message