flash messages improved