correction in array cropping to allow nested structures
correction in cropping correction