fixed error code calculation in internalupdateperformer