some minor fixes about user profile edit