Changed formatting of error messages