simplify the error code.

close #9