missed some setArray calls fixed parameters
Merge branch 'hotfix/setArrayBug'