improved display error messages