changed flash messages