index select fix