fix error with indexErrors
fix fix
Merge pull request #13 from kazalt/indexErrorsFix

fix error with indexErrors