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