fixed 64 bit stuff