deal the error message