fixed new for arrays