fix DDOS for auto appid switch