fix on node 0.10
Merge pull request #1 from daemon1981/dsaillard-fix-on-node-10

fix on node 0.10