fixing array typo