add check before index parsing strings
Merge pull request #101 from ridoo/master

closes #100