patch for node.js versions