fixed incorrect cast to array
Merge pull request #24 from dolgarev/master

fixed incorrect cast to array