fix so this works with node 0.10.13