fix for Node 0.10 compat