Fixed warning in public ip lookup