fix upstream arraytools breakage