Fixed bug

#1 Can't set the attributes of the node without vararible attributes
#2 Change the NODE regexp