fix 64bit system bug