going to remove underarray from array