Convert to nodes properly