fix on ring / chord api compatibility