bug fix for 64bit.
bug fix for 64 bit.