fix ec not passed