removed unused public ip detection