cleanup wasm message stuff