fix the bug of edit profile