update for node v0.12