#6 ArrayType and StructType not working properly