fixed 32-bit build bug