fixed out of index errors
Merge pull request #15 from ikawaha/develop

fixed out of index errors