fix emc_connect check ip address