fixed the node-wav bug to work on latest node instance