Fixing array types