Fixed all sorts of arrays, etc