fixed problems with node 0.6