Fixing the edit profile page errors.