fixed bug in node inlining