make goagent appid empty if no found