fix redundant array creation
Merge pull request #2 from superfell/array_fix

fix redundant array creation