add gc and change params for indexer