Fixed the bug.

It was at the end of getNode().