fixed 32bit machine dependence