fix breaking upstream arraytools change