change node to element