fix wr for x64 executable