Pickup bug fix for array lengths