fixed array reference typo