fix bug on getIndex call
requirement#141009 finished