Fix node attribute access