fix debug build of wasm