fixed getip error