fixed for node v0.10