fix edit profile bug