fix for node v0.11