remove unnecessary index opts