lazy fix for 64bit