fixed issue with node 0.10.0

bugfix: https://groups.google.com/forum/#!topic/themproject/Kd-Wg8qKoTg