Fix creating of index.
Remove XXX.