fixed typo on array setup