fixed for arrays