fixed flash message system.