fix reload bug hack with node.js