Fixed node 0.10 behaviour

Fixes #192