fix: should set default error.