Improved quality of error messages