resolve ems and pingyou bug, aftercheck work