polish the error message