update package, change _.error.x to _.code.x