weird bigint patch