fix for node v0.10