fixed bug in node.once