fix 64 bit error