 
         let options = PHImageRequestOptions.yep_sharedOptions
 
-        let pickedImageAssets = Array(pickedImageSet)
+        let pickedImageAssets = pickedImages
 
         for imageAsset in pickedImageAssets {
 

        if let imageAsset = images[indexPath.item] as? PHAsset {
            if pickedImageSet.contains(imageAsset) {
                pickedImageSet.remove(imageAsset)
            } else {
                if pickedImageSet.count + imageLimit == 4 {
                    return
                }
                pickedImageSet.insert(imageAsset)
            }
            title = "\(NSLocalizedString("Pick Photos", comment: "")) (\(pickedImageSet.count + imageLimit)/4)"
            let cell = collectionView.cellForItemAtIndexPath(indexPath) as! PhotoCell

    var imageCacheController: ImageCacheController!

    var pickedImageSet = Set<PHAsset>()
    var pickedImages = [PHAsset]()
    var completion: ((images: [UIImage], imageAssets: [PHAsset]) -> Void)?
    var imageLimit = 0

