fix performance with node v0.10.x