fixed node v0.8 bug