compatibility with node v0.8.17