fix delete profile bug