made it work under node 0.10.*