remove obsolete functions for extracting ip