quick fix for emscripten