new index bug fix
Merge pull request #245 from benitoro/master

new index bug fix