recover detail_idx