If multiple chaincode exist, try to to identify the current one, avoid misleading by older ones and generate suitable sequence for next one