error message improved