fixed dual flash messages with notice