corrected flash message error