fixed flash messages for site