node 0.8 events bugfix