Clean up createNode