fix edit profile error