                 }
             }
 
-            if let
-                myUserID = YepUserDefaults.userID.value,
-                realm = try? Realm(),
-                me = userWithUserID(myUserID, inRealm: realm) {
-                    profileUser = ProfileUser.UserType(me)
-
-                    masterSkills = skillsFromUserSkillList(me.masterSkills)
-                    learningSkills = skillsFromUserSkillList(me.learningSkills)
-
-                    updateProfileCollectionView()
+            if let me = me() {
+                profileUser = ProfileUser.UserType(me)
+
+                masterSkills = skillsFromUserSkillList(me.masterSkills)
+                learningSkills = skillsFromUserSkillList(me.learningSkills)
+
+                updateProfileCollectionView()
             }
         }
 

            syncMyInfoAndDoFurtherAction {

                // 提示没有 Skills
                guard let
                    myUserID = YepUserDefaults.userID.value,
                    realm = try? Realm(),
                    me = userWithUserID(myUserID, inRealm: realm) else {
                        return
                }

                if me.masterSkills.count == 0 && me.learningSkills.count == 0 {

            return
        }

        if let me = meInRealm(realm) {
            let _ = try? realm.write {
                me.learningSkills.removeAll()
                let userSkills = userSkillsFromSkills(self.learningSkills, inRealm: realm)
                me.learningSkills.appendContentsOf(userSkills)
            }
        }
    }

