Fix bug - declare array variable wrong.