fix the isNumeric and arrayEqual assert