add idx in ub[]