fix bug that can't edit profile