hide flash message in the cache