remove template can be work with emscripten