flash messages issue