use a consistent flash message format