fix to mach new bignumber api