don't display flash message when message is empty