flash messages adjusted