fix a bug of Array detection failure.
Merge pull request #152 from simpzan/master

fix a bug of Array detection failure.