[fix] use arguments as an array in node/inject()
[++] use state -1 for unitialized res