fix, now works with node 0.6.x