fixes to arrays, ...