fixes typo in array declaration