adapt to idxcore modification