flash message notification correction