ArrayOutOfBoundIndex Fix