fix big 32-bit kernels