toFloat64Array bug fix