fix handling of unknown ip addresses