             }, completion: { newAvatarURLString in
                 YepHUD.hideActivityIndicator()
 
-                SafeDispatch.async {
+                SafeDispatch.async { [weak self] in
 
                     YepUserDefaults.avatarURLString.value = newAvatarURLString
 
-                    self.performSegueWithIdentifier("showRegisterPickSkills", sender: nil)
+                    self?.performSegueWithIdentifier("showRegisterPickSkills", sender: nil)
                 }
             })
         }
     }
-
 }
 
 // MARK: UIImagePicker

            self?.presentViewController(imagePicker, animated: true, completion: nil)
        }
        
        proposeToAccess(.Photos, agreed: openCameraRoll, rejected: {
            self.alertCanNotAccessCameraRoll()
        })
    }
    

        }
    }

    override func viewDidLoad() {
        super.viewDidLoad()

