modify the way to show falsh message