add -i to build index.