fix for node.js