formatting of display error message