fix empty array bug
Merge branch 'UIV2' of https://github.com/capensis/canopsis into UIV2