Resolve bugs in user's profile edit