fixed "empty array"-bug
Merge pull request #79 from schmeiserd/master

fixed "empty array"-bug