[fixed] array out of bounds error

Change-Id: I623e2f6e2b206b23393c91e2758e1dd5f59b5093