upgrade errcode

fix bug