 
       value = styleprovider.mget(attrname)
       if not value?
-        null
+        @[attrname].value = null
       else if _.isString(value)
         @[attrname].field = value
       else if _.isArray(value)


      value = styleprovider.mget(attrname)
      if not value?
        null
      else if _.isString(value)
        if svg_colors[value]? or value.substring(0, 1) == "#"
          @[attrname].value = value


      value = styleprovider.mget(attrname)
      if not value?
        @[attrname].value = null
      else if _.isNumber(value)
        @[attrname].value = value
      else if _.isString(value)
