add del_by_idx