change StubIndex.get to StubIndex.safeGet
Merge pull request #366 from coocood/master

change StubIndex.get to StubIndex.safeGet