Correct wrong dynarray assignments to fund.ts to arrays.ts