[fix] - redirecting  flash message only once