WELD-1521 fixed array creation