fixed issue w/ setting node attribute