fix for 32bit cpu