fix to Index
Merge pull request #12 from kobluewater/work

fix to Index