@wangjian fix outOfIndex bug
Merge pull request #4 from wangjian161/wangjian

@wangjian fix outOfIndex bug