Bugs in build index.