             
             if let error = error { throw error }
             
-            persistentStoreCoordinator = persistentContainer.persistentStoreCoordinator
+            self.init(translator, persistentContainer: persistentContainer)
         } else {
             let url = Bundle(for: CDModel.self).url(
                     forResource: configuration.containerName,
                     withExtension: "momd")!
         
-            persistentStoreCoordinator = NSPersistentStoreCoordinator(
+            let persistentStoreCoordinator = NSPersistentStoreCoordinator(
                     managedObjectModel: NSManagedObjectModel(contentsOf: url)!)
             
             try persistentStoreCoordinator.addPersistentStore(

                    configurationName: nil,
                    at: configuration.persistentStoreURL ?? CoreDataDAO.url(storeName: "\(configuration.containerName).db"),
                    options: configuration.options)
        }
 
        super.init()
    }
    

    ///   - translator: translator for current `CDModel` and `Model` types.
    ///   - configuration: configuration. See also `CoreDataConfiguration`.
    /// - Throws: error if loading or adding persistence store is failed.
    public convenience init(_ translator: CoreDataTranslator<CDModel, Model>,
                configuration: CoreDataConfiguration) throws {
        
        if #available(iOS 10, *) {
            let persistentContainer = NSPersistentContainer(name: configuration.containerName)
