personalize flash message and fix