         
     I[name] ?= 100
     
-    if not I["max#{name.capitalize()}"]
+    if not I["#{name}Max"]
       if I[name]
-        I["max#{name.capitalize()}"] = I[name]
+        I["#{name}Max"] = I[name]
       else
-        I["max#{name.capitalize()}"] = 100
+        I["#{name}Max"] = 100
     
     I.meters[name] = options
     

      } = meterData
      
      {x, y} = meterData.position if meterData.position?
      
      return unless show
          
      ratio = I[name] / I["max#{name.capitalize()}"]
                  
      canvas.drawRoundRect
        color: backgroundColor
        radius: borderRadius
        x: x
        y: y
        width: width
        height: height       
      
      canvas.drawRoundRect
        color: color

        y: y
        radius: borderRadius
        width: width * ratio
        height: height
        
      canvas.drawRoundRect
        x: x
