fix for node 0.9.x