fixed a little node 0.10 incompatibility