fix es index selection