                 if path.bounds.origin.y - (path.lineWidth / 2) < totalRect.origin.y {
                     totalRect.origin.y = path.bounds.origin.y - (path.lineWidth / 2)
                 }
-            } else if let fillColor = path_info.fillColor {
+            } else if path_info.fillColor != nil {
                 // width
                 if path.bounds.origin.x + path.bounds.size.width > totalRect.size.width {
                     totalRect.size.width = path.bounds.origin.x + path.bounds.size.width

            return self.scale
        }

        set(newValue) {
            if newValue <= 0.0 || newValue > 1.0 {
                fatalError("ValueError: scale must be greater than 0.0 and 1.0 or less.")
            }

            path.apply(.identity)

            // extends bounds / origin
            if path_info.strokeColor != nil {
                // width
                if path.bounds.origin.x + path.bounds.size.width + (path.lineWidth / 2) > totalRect.size.width {
                    totalRect.size.width = path.bounds.origin.x + path.bounds.size.width + (path.lineWidth / 2)
