Fixed x64 bug