Fix bug issue with Node.JS