node 0.8 fixes