fix Array typo in program