fix 32bit issue with printf