             }
             
             let loadedContent = thumbnail.roundCorners(self.bindedLayout.screenSize.width, h: self.bindedLayout.screenSize.height, roundSize: 14)
-            
+            print("loadedContent === \(loadedContent)")
             runOnUiThread(selfGeneration, closure: { () -> () in
                 self.setPreviewImage(loadedContent, fast: false)
+                self.contentLoaded = true
             })
             
         } catch {
             
         }
-        
         
     }
     

                self.setPreviewImage(loadedThumb!, fast: true)
            });
        }
    }
    
    public func bgLoadReference(reference: String, selfGeneration: Int) {
        if (contentLoaded) {
            return
        }
        contentLoaded = true
        
        
        let movieAsset = AVAsset(URL: NSURL(fileURLWithPath: CocoaFiles.pathFromDescriptor(reference))) // video asset
        let imageGenerator = AVAssetImageGenerator(asset: movieAsset)

     Creating layout for video content
     */
    public convenience init(id: Int64, videoContent: ACVideoContent, date: Int64) {
        self.init(id: id, width: CGFloat(videoContent.getW()), height: CGFloat(videoContent.getH()), date: date, fastThumb: videoContent.getFastThumb(),autoDownload: false)
    }
    
    /**
