         completeString.append(model.attributedString)
         
         let exportMargin2:CGFloat = kExportMargin + kExportMargin
+        let stringWidth:CGFloat = kExportMaxWidth - exportMargin2
         let maxSize:CGSize = CGSize(
-            width:kExportMaxWidth - exportMargin2,
+            width:stringWidth,
             height:kExportMaxHeight)
         let stringHeight:CGFloat = ceil(completeString.boundingRect(
             with:maxSize,

            return
        }
        
        let attributes:[String:Any] = [
            NSFontAttributeName:UIFont.bold(size:24),
            NSForegroundColorAttributeName:UIColor.black]
        
        let titleComposite:String = "\(title)\n"
        let titleString:NSAttributedString = NSAttributedString(
            string:titleComposite,
            attributes:attributes)

            y:0,
            width:kExportMaxWidth,
            height:completeHeight)
        let textRect:CGRect = CGRect(
            x:kExportMargin,
            y:kExportMargin,
            width:stringWidth,
            height:stringHeight)
        
        UIGraphicsBeginImageContext(imageRect.size)
        
