work on flash messages