Fix in indexerApi code