delete unnecessary index