fix array check
Merge pull request #13 from comzeradd/master

fix array check