fix bugs for cloud/Ecms Sniff