fix RebuildIndex mapper setup