         if assetGroup.totalCount == 0 {
             cell.thumbnailImageView.image = DKImageResource.emptyAlbumIcon()
         } else {
-            getImageManager().groupDataManager.fetchGroupThumbnailForGroup(assetGroup.groupId,
-                                                                           size: CGSize(width: tableView.rowHeight, height: tableView.rowHeight).toPixel(),
-                                                                           options: self.groupThumbnailRequestOptions) { image, info in
-                                                                            if cell.tag == tag {
-                                                                                cell.thumbnailImageView.image = image
-                                                                            }
+            getImageManager().groupDataManager.fetchGroupThumbnailForGroup(
+                assetGroup.groupId,
+                size: CGSize(width: tableView.rowHeight, height: tableView.rowHeight).toPixel(),
+                options: self.groupThumbnailRequestOptions) { image, info in
+                    if cell.tag == tag {
+                        cell.thumbnailImageView.image = image
+                    }
             }
         }
         cell.totalCountLabel.text = String(assetGroup.totalCount)


    internal func loadGroups() {
        getImageManager().groupDataManager.fetchGroups { [weak self] groups, error in
            guard let groups = groups, let strongSelf = self else { return }

            if error == nil {
                strongSelf.groups = groups
                strongSelf.selectedGroup = strongSelf.defaultAssetGroupOfAppropriate()
                if let selectedGroup = strongSelf.selectedGroup,
                    let row =  groups.index(of: selectedGroup)
                {
                    strongSelf.tableView.selectRow(
                        at: IndexPath(row: row, section: 0),
                        animated: false,
                        scrollPosition: .none)
                }

                strongSelf.selectedGroupDidChangeBlock?(strongSelf.selectedGroup)
            }
        }
    }

    fileprivate func defaultAssetGroupOfAppropriate() -> String? {
        if let groups = self.groups {
            if let defaultAssetGroup = self.defaultAssetGroup {
                for groupId in groups {
                    let group = getImageManager().groupDataManager.fetchGroupWithGroupId(groupId)
                    if defaultAssetGroup == group.originalCollection.assetCollectionSubtype {
                        return groupId
                    }
                }
            }
            return groups.first
        }
        return nil
    }

    // MARK: - UITableViewDelegate, UITableViewDataSource methods


        let imageViewY = CGFloat(10)
        let imageViewHeight = self.contentView.bounds.height - 2 * imageViewY
        self.thumbnailImageView.frame = CGRect(x: imageViewY,
                                               y: imageViewY,
                                               width: imageViewHeight,
                                               height: imageViewHeight)

        self.groupNameLabel.frame = CGRect(
            x: self.thumbnailImageView.frame.maxX + 10,
            y: self.thumbnailImageView.frame.minY + 5,
            width: 200,
            height: 20)

        self.totalCountLabel.frame = CGRect(
            x: self.groupNameLabel.frame.minX,
            y: self.thumbnailImageView.frame.maxY - 20,
            width: 200,
            height: 20)
    }
}

class DKAssetGroupListVC: UITableViewController, DKGroupDataManagerObserver {
