Fixed crash (bad convert from js to C++ impl)