fix typeof BigInteger