some warning fixed for 32-bit