fixed bug with index builder
Merge remote-tracking branch 'origin/master'