x64 calling convention handlers fix